Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0026/0.0026, allocations: 188 kB / 22.22 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 496 MB / 0.7835 GB, free: 33.75 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor")
translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 66.06 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3612, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004805/0.366, allocations: 2.871 MB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002555/0.3685, allocations: 1.375 MB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.3688, allocations: 19.88 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.3693, allocations: 147.1 kB / 1.312 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.3697, allocations: 143.2 kB / 1.312 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.3704, allocations: 310.1 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000599/0.371, allocations: 479.4 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.3712, allocations: 127.1 kB / 1.313 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.3715, allocations: 203.1 kB / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.3718, allocations: 203.1 kB / 1.313 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.3719, allocations: 36 kB / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.372, allocations: 75.98 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3721, allocations: 103.6 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.3723, allocations: 182.9 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.373, allocations: 0.5251 MB / 1.314 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.373, allocations: 3.984 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.373, allocations: 4 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.344e-06/0.373, allocations: 4 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 59
 * Number of variables: 59
Notification: Performance of Generate backend data structure: time 0.001132/0.3741, allocations: 0.6611 MB / 1.315 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3742, allocations: 8.922 kB / 1.315 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.3742, allocations: 52.59 kB / 1.315 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.3749, allocations: 347.7 kB / 1.315 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.3749, allocations: 16.88 kB / 1.315 GB, free: 9.91 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.375, allocations: 28.12 kB / 1.315 GB, free: 9.883 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.3756, allocations: 274.7 kB / 1.315 GB, free: 9.602 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3756, allocations: 0 / 1.315 GB, free: 9.602 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3756, allocations: 19.98 kB / 1.315 GB, free: 9.582 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3756, allocations: 4 kB / 1.315 GB, free: 9.578 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.3761, allocations: 181.9 kB / 1.315 GB, free: 9.402 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3775, allocations: 0.8337 MB / 1.316 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.3783, allocations: 226.9 kB / 1.316 GB, free: 8.281 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.3785, allocations: 84.75 kB / 1.317 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.3786, allocations: 4 kB / 1.317 GB, free: 8.191 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.3789, allocations: 143.3 kB / 1.317 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3789, allocations: 0 / 1.317 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20): time 0.0008124/0.3797, allocations: 287.5 kB / 1.317 GB, free: 7.754 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.3798, allocations: 59.39 kB / 1.317 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.3804, allocations: 421.6 kB / 1.317 GB, free: 7.262 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.3804, allocations: 29.7 kB / 1.317 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.3807, allocations: 216.3 kB / 1.318 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.3808, allocations: 59.48 kB / 1.318 GB, free: 6.953 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3809, allocations: 53.92 kB / 1.318 GB, free: 6.891 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002569/0.3811, allocations: 350.7 kB / 1.318 GB, free: 6.539 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3813, allocations: 68.44 kB / 1.318 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3816, allocations: 110.8 kB / 1.318 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.382, allocations: 189 kB / 1.318 GB, free: 6.145 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.382, allocations: 0 / 1.318 GB, free: 6.145 MB / 1.014 GB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005793/0.3826, allocations: 263.6 kB / 1.319 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3826, allocations: 4 kB / 1.319 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3826, allocations: 8.156 kB / 1.319 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3826, allocations: 0 / 1.319 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3829, allocations: 47.91 kB / 1.319 GB, free: 5.824 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3829, allocations: 4 kB / 1.319 GB, free: 5.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.383, allocations: 23.83 kB / 1.319 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.383, allocations: 19.98 kB / 1.319 GB, free: 5.777 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.y,$whenCondition2,dxSpeCon.conInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (27):
 * Single equations (assignments): 27
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.3833, allocations: 165.7 kB / 1.319 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.3833, allocations: 39.75 kB / 1.319 GB, free: 5.566 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.3839, allocations: 262.3 kB / 1.319 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3839, allocations: 4 kB / 1.319 GB, free: 5.305 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3839, allocations: 0 / 1.319 GB, free: 5.305 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3839, allocations: 3.938 kB / 1.319 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.3851, allocations: 0.6494 MB / 1.32 GB, free: 4.602 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3851, allocations: 0 / 1.32 GB, free: 4.602 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3853, allocations: 39.91 kB / 1.32 GB, free: 4.562 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3853, allocations: 0 / 1.32 GB, free: 4.562 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3853, allocations: 7.938 kB / 1.32 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3853, allocations: 0 / 1.32 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3853, allocations: 0 / 1.32 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.3861, allocations: 436.5 kB / 1.32 GB, free: 4.113 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3862, allocations: 63.64 kB / 1.32 GB, free: 4.051 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.3863, allocations: 4 kB / 1.32 GB, free: 4.047 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3864, allocations: 7.984 kB / 1.32 GB, free: 4.039 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.3865, allocations: 19.97 kB / 1.32 GB, free: 4.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.3866, allocations: 8 kB / 1.32 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003419/0.3869, allocations: 295.1 kB / 1.321 GB, free: 3.727 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.3869, allocations: 0 / 1.321 GB, free: 3.727 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003357/0.3872, allocations: 67.89 kB / 1.321 GB, free: 3.66 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (dxSpeCon.dxSpe.I.y)
 * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent)
 * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (20):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/0.3888, allocations: 415.8 kB / 1.321 GB, free: 3.41 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004994/0.3893, allocations: 178 kB / 1.321 GB, free: 3.238 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3893, allocations: 4 kB / 1.321 GB, free: 3.234 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3895, allocations: 88.16 kB / 1.321 GB, free: 3.148 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.3901, allocations: 84.19 kB / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3913, allocations: 0.6222 MB / 1.322 GB, free: 2.418 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3918, allocations: 0.799 MB / 1.323 GB, free: 1.594 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001608/0.3919, allocations: 46.95 kB / 1.323 GB, free: 1.547 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.392, allocations: 35.42 kB / 1.323 GB, free: 1.512 MB / 1.014 GB
Notification: Performance of SimCode: time 6.82e-07/0.392, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB
Notification: Performance of Templates: time 0.00936/0.4014, allocations: 3.933 MB / 1.327 GB, free: 13.62 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.116979568265378]