Add ALLOW_VERSION_MISMATCH flag to simulation
output skip value
fix resume sample calculation