Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.248/2.248, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 176 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 106.9 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 17.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5154, allocations: 158.3 MB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5157, allocations: 99.94 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02917/0.5449, allocations: 10.12 MB / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5449, allocations: 0 / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.527e-05/0.545, allocations: 8 kB / 1.394 GB, free: 0.9414 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001668/0.5467, allocations: 0.7562 MB / 1.395 GB, free: 124 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5467, allocations: 8.562 kB / 1.395 GB, free: 116 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.5469, allocations: 51.42 kB / 1.395 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007938/0.5478, allocations: 374.8 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.5478, allocations: 28.66 kB / 1.395 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.5479, allocations: 36 kB / 1.395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009087/0.5488, allocations: 406.7 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5489, allocations: 7.891 kB / 1.395 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.5489, allocations: 19.98 kB / 1.395 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.5489, allocations: 16.59 kB / 1.395 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/0.5497, allocations: 322.4 kB / 1.396 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.5518, allocations: 1.12 MB / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/0.5527, allocations: 362.6 kB / 1.397 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.5527, allocations: 4 kB / 1.397 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.5533, allocations: 243 kB / 1.397 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.5533, allocations: 0 / 1.397 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39): time 0.001278/0.5546, allocations: 0.4959 MB / 1.398 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5547, allocations: 122.7 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.5552, allocations: 359.5 kB / 1.398 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.5553, allocations: 53.69 kB / 1.398 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.5554, allocations: 196.8 kB / 1.399 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5556, allocations: 98.64 kB / 1.399 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.5556, allocations: 12 kB / 1.399 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5558, allocations: 350.8 kB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.5562, allocations: 161 kB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.5567, allocations: 258.5 kB / 1.399 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.5571, allocations: 186.4 kB / 1.4 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5571, allocations: 0 / 1.4 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001057/0.5582, allocations: 0.4934 MB / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.5583, allocations: 37.73 kB / 1.4 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5583, allocations: 0 / 1.4 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.5583, allocations: 7.953 kB / 1.4 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.5587, allocations: 71.83 kB / 1.4 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5587, allocations: 4 kB / 1.4 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.5591, allocations: 67.7 kB / 1.4 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.5591, allocations: 20 kB / 1.4 GB, free: 9.973 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003004/0.5595, allocations: 219 kB / 1.401 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.5595, allocations: 35.62 kB / 1.401 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.5605, allocations: 433.4 kB / 1.401 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.5605, allocations: 7.953 kB / 1.401 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5606, allocations: 0 / 1.401 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.5606, allocations: 11.92 kB / 1.401 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.5623, allocations: 0.9893 MB / 1.402 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5624, allocations: 3.953 kB / 1.402 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.5626, allocations: 43.91 kB / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5626, allocations: 0 / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.5626, allocations: 15.98 kB / 1.402 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5627, allocations: 4 kB / 1.402 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5627, allocations: 0 / 1.402 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.5635, allocations: 494.9 kB / 1.402 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.5637, allocations: 132.5 kB / 1.403 GB, free: 7.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.5638, allocations: 12 kB / 1.403 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.5641, allocations: 43.95 kB / 1.403 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5642, allocations: 59.91 kB / 1.403 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.5643, allocations: 12 kB / 1.403 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003298/0.5646, allocations: 271 kB / 1.403 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5646, allocations: 0 / 1.403 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005283/0.5652, allocations: 115.9 kB / 1.403 GB, free: 6.996 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.5663, allocations: 472.5 kB / 1.404 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.5673, allocations: 461.5 kB / 1.404 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5673, allocations: 0 / 1.404 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.5678, allocations: 196.2 kB / 1.404 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.5682, allocations: 63.28 kB / 1.404 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.5696, allocations: 0.8123 MB / 1.405 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.5701, allocations: 0.8242 MB / 1.406 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.5704, allocations: 63.25 kB / 1.406 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.5705, allocations: 43.42 kB / 1.406 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of SimCode: time 6.62e-07/0.5705, allocations: 0 / 1.406 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of Templates: time 0.01147/0.582, allocations: 5.377 MB / 1.411 GB, free: 14.86 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches