Hi Thamarai,
Looking at your pressure/temperature curves it appears that your reactants are not igniting close to TDC. This could be related to either your mechanism or the fact that canters' 0D engine model is drastically simplified. In order to get HCCI right, you are relying on ignition delays at peak compression to be 'just right'. Please also note that the example doesn't assume HCCI - it simulates fuel injection of a reactive fuel close to TDC, where instantaneous perfect mixing is assumed.
One thing that is clearly not a good assumption is to use GRI-30 for methanol combustion: as this mechanism was developed for natural gas combustion, it's likely not a sufficiently accurate model for your purposes. For future references, please do not attach files without extension, as it wasn't clear that MethanolHCCI was a *.py file (if you need to rename, it's better to change to *.txt).
Hope this helps,
-ingmar-