You have to expect this., because every opamp comes with an offset voltage. This offset may or may not change sign with change in input common mode voltage. It is completely normal for the opamp to behave this way.
ssankurathri,
The output voltage will be the input offset voltage times the open loop gain of the op-amp. This is usually higher than the output voltage capability of the op-amp.
Regards,
ral
there is no difference in the two topologies that u mention
both times the differential voltage at the input is 0V
now because the op-amp has inherent input offset voltage its output will always be high...if it had the opposite mismatches then its output would always be low when feeded with 0V diff voltage at input