Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001588/0.001588, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001688/0.001688, allocations: 189.8 kB / 22.23 MB, free: 5.133 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.397/1.397, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.104/3.104, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 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-master/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_latest_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_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.66 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3809, allocations: 174.9 MB / 1.316 GB, free: 9.785 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004979/0.3858, allocations: 2.866 MB / 1.319 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002701/0.3885, allocations: 1.383 MB / 1.32 GB, free: 5.52 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.3888, allocations: 15.88 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.3893, allocations: 143.2 kB / 1.32 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.3897, allocations: 143.2 kB / 1.32 GB, free: 5.223 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.3905, allocations: 318 kB / 1.321 GB, free: 4.918 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005927/0.3911, allocations: 483.4 kB / 1.321 GB, free: 4.441 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.3914, allocations: 135.1 kB / 1.321 GB, free: 4.301 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.3917, allocations: 203.1 kB / 1.322 GB, free: 4.102 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.392, allocations: 203.1 kB / 1.322 GB, free: 3.902 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.3921, allocations: 40 kB / 1.322 GB, free: 3.863 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.3922, allocations: 71.98 kB / 1.322 GB, free: 3.793 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3924, allocations: 99.62 kB / 1.322 GB, free: 3.695 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.3926, allocations: 178.9 kB / 1.322 GB, free: 3.52 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009096/0.3935, allocations: 0.5368 MB / 1.323 GB, free: 2.98 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3935, allocations: 0 / 1.323 GB, free: 2.98 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.393e-06/0.3935, allocations: 4 kB / 1.323 GB, free: 2.977 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.528e-06/0.3935, allocations: 0 / 1.323 GB, free: 2.977 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.001241/0.3947, allocations: 0.665 MB / 1.323 GB, free: 2.277 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3948, allocations: 8.031 kB / 1.323 GB, free: 2.27 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3949, allocations: 52.66 kB / 1.323 GB, free: 2.219 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.3956, allocations: 343.6 kB / 1.324 GB, free: 1.859 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.3956, allocations: 20.88 kB / 1.324 GB, free: 1.84 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.3957, allocations: 35.88 kB / 1.324 GB, free: 1.805 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.3963, allocations: 270.8 kB / 1.324 GB, free: 1.531 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3963, allocations: 3.938 kB / 1.324 GB, free: 1.527 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.3963, allocations: 8 kB / 1.324 GB, free: 1.52 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.3963, allocations: 4 kB / 1.324 GB, free: 1.516 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.3968, allocations: 189.9 kB / 1.324 GB, free: 1.328 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.3982, allocations: 0.8299 MB / 1.325 GB, free: 448 kB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.399, allocations: 219 kB / 1.325 GB, free: 220 kB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.3992, allocations: 86.53 kB / 1.325 GB, free: 132 kB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3992, allocations: 0 / 1.325 GB, free: 132 kB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.3995, allocations: 148.8 kB / 1.325 GB, free: 15.97 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3995, allocations: 3.938 kB / 1.325 GB, free: 15.97 MB / 1.029 GB
Notification: Performance of matching and sorting (n=20): time 0.0007781/0.4003, allocations: 295 kB / 1.326 GB, free: 15.68 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4004, allocations: 55.41 kB / 1.326 GB, free: 15.61 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.4009, allocations: 409.6 kB / 1.326 GB, free: 15.2 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4009, allocations: 37.69 kB / 1.326 GB, free: 15.16 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4011, allocations: 208.3 kB / 1.326 GB, free: 14.95 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.4012, allocations: 75.45 kB / 1.326 GB, free: 14.88 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.4013, allocations: 49.94 kB / 1.326 GB, free: 14.82 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002059/0.4015, allocations: 354.7 kB / 1.327 GB, free: 14.46 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4017, allocations: 68.42 kB / 1.327 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.4019, allocations: 115.5 kB / 1.327 GB, free: 14.27 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.4023, allocations: 188.2 kB / 1.327 GB, free: 14.07 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4023, allocations: 4 kB / 1.327 GB, free: 14.06 MB / 1.029 GB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005328/0.4028, allocations: 261.1 kB / 1.327 GB, free: 13.8 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4028, allocations: 4 kB / 1.327 GB, free: 13.8 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4028, allocations: 8 kB / 1.327 GB, free: 13.79 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4029, allocations: 0 / 1.327 GB, free: 13.79 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.4031, allocations: 47.91 kB / 1.327 GB, free: 13.74 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4031, allocations: 8.156 kB / 1.328 GB, free: 13.73 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4032, allocations: 27.81 kB / 1.328 GB, free: 13.71 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.4033, allocations: 4 kB / 1.328 GB, free: 13.7 MB / 1.029 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.000195/0.4035, allocations: 173.7 kB / 1.328 GB, free: 13.52 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.4035, allocations: 39.72 kB / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.4041, allocations: 245.1 kB / 1.328 GB, free: 13.24 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4041, allocations: 4 kB / 1.328 GB, free: 13.24 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4041, allocations: 3.938 kB / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4042, allocations: 3.984 kB / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4052, allocations: 0.6469 MB / 1.329 GB, free: 12.54 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4052, allocations: 0 / 1.329 GB, free: 12.54 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4053, allocations: 31.92 kB / 1.329 GB, free: 12.5 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4053, allocations: 3.938 kB / 1.329 GB, free: 12.5 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4054, allocations: 15.98 kB / 1.329 GB, free: 12.48 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4054, allocations: 0 / 1.329 GB, free: 12.48 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4054, allocations: 0 / 1.329 GB, free: 12.48 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.4061, allocations: 422.5 kB / 1.329 GB, free: 12.06 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4062, allocations: 63.64 kB / 1.329 GB, free: 12 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.4063, allocations: 8.062 kB / 1.329 GB, free: 11.99 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4064, allocations: 4 kB / 1.329 GB, free: 11.98 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.4065, allocations: 23.91 kB / 1.329 GB, free: 11.96 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.4065, allocations: 11.98 kB / 1.329 GB, free: 11.95 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003361/0.4069, allocations: 287.2 kB / 1.329 GB, free: 11.67 MB / 1.029 GB
Notification: Performance of sort global known variables: time 9e-08/0.4069, allocations: 0 / 1.329 GB, free: 11.67 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003329/0.4072, allocations: 71.77 kB / 1.33 GB, free: 11.6 MB / 1.029 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.001527/0.4087, allocations: 421.6 kB / 1.33 GB, free: 11.34 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0004868/0.4092, allocations: 171.8 kB / 1.33 GB, free: 11.17 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4092, allocations: 0 / 1.33 GB, free: 11.17 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4094, allocations: 85.44 kB / 1.33 GB, free: 11.09 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.41, allocations: 93.69 kB / 1.33 GB, free: 11 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4112, allocations: 0.6299 MB / 1.331 GB, free: 10.34 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.4118, allocations: 0.7951 MB / 1.332 GB, free: 9.52 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001574/0.4119, allocations: 50.94 kB / 1.332 GB, free: 9.469 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.412, allocations: 31.44 kB / 1.332 GB, free: 9.438 MB / 1.029 GB
Notification: Performance of SimCode: time 3.01e-07/0.412, allocations: 0 / 1.332 GB, free: 9.438 MB / 1.029 GB
Notification: Performance of Templates: time 0.009386/0.4214, allocations: 3.93 MB / 1.336 GB, free: 5.555 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.9008629322052]