nIFTy cosmology: Comparison of galaxy formation models