When a model is published to ArcGIS Server as a geoprocessing service and the XY tolerance is exposed as a model parameter and NULL by default, the geoprocessing service will populate it with 0.
Do not expose the XY tolerance as a model parameter or populate it with an acceptable value in the model prior to publishing as a geoprocessing service.