Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.2 kB / 316.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008165/0.0008165, allocations: 96.5 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.862e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.731/0.9327, allocations: 141.6 MB / 1.023 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.9329, allocations: 98.17 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03667/0.9696, allocations: 13.78 MB / 1.037 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9697, allocations: 3.938 kB / 1.037 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.068e-05/0.9697, allocations: 19.98 kB / 1.037 GB, free: 0.8438 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001356/0.9711, allocations: 0.8357 MB / 1.038 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9711, allocations: 11.97 kB / 1.038 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.9713, allocations: 71.16 kB / 1.038 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.972, allocations: 470 kB / 1.038 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.9721, allocations: 20 kB / 1.038 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.9721, allocations: 39.44 kB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006911/0.9728, allocations: 392.5 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.9737, allocations: 490 kB / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.9737, allocations: 0 / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.9738, allocations: 3.062 kB / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.9738, allocations: 12 kB / 1.039 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.9761, allocations: 1.466 MB / 1.041 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.9768, allocations: 435.2 kB / 1.041 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.977, allocations: 193.5 kB / 1.041 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.9771, allocations: 8.5 kB / 1.041 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.9776, allocations: 279.7 kB / 1.042 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 4.599e-06/0.9776, allocations: 3.984 kB / 1.042 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.0007727/0.9784, allocations: 424.5 kB / 1.042 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.9785, allocations: 120.3 kB / 1.042 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.979, allocations: 440.7 kB / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.9791, allocations: 39.89 kB / 1.043 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.9792, allocations: 256.7 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.9794, allocations: 158.3 kB / 1.043 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.9794, allocations: 0 / 1.043 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.9796, allocations: 359.6 kB / 1.043 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.9799, allocations: 166.1 kB / 1.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.9802, allocations: 293 kB / 1.044 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.9805, allocations: 163.3 kB / 1.044 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9805, allocations: 0 / 1.044 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007583/0.9813, allocations: 0.5007 MB / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.9813, allocations: 33.64 kB / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.9813, allocations: 8 kB / 1.044 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.9814, allocations: 7.953 kB / 1.044 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.9818, allocations: 87.25 kB / 1.045 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.9818, allocations: 4 kB / 1.045 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.9822, allocations: 63.7 kB / 1.045 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.9823, allocations: 29.48 kB / 1.045 GB, free: 10.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0001903/0.9825, allocations: 154.5 kB / 1.045 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.9826, allocations: 58.73 kB / 1.045 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009177/0.9835, allocations: 0.4933 MB / 1.045 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.9836, allocations: 11.95 kB / 1.045 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9836, allocations: 0 / 1.045 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.9836, allocations: 3.984 kB / 1.045 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.9854, allocations: 1.214 MB / 1.047 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9854, allocations: 0 / 1.047 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.9857, allocations: 62.89 kB / 1.047 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.9857, allocations: 4 kB / 1.047 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.9857, allocations: 7.297 kB / 1.047 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.9858, allocations: 8 kB / 1.047 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9858, allocations: 0 / 1.047 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.9865, allocations: 0.5573 MB / 1.047 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.9867, allocations: 143.7 kB / 1.047 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.9868, allocations: 7.984 kB / 1.047 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.9871, allocations: 55.81 kB / 1.047 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.9873, allocations: 88.42 kB / 1.047 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.9874, allocations: 22 kB / 1.047 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003413/0.9877, allocations: 312.7 kB / 1.048 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9877, allocations: 0 / 1.048 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005707/0.9883, allocations: 131.8 kB / 1.048 GB, free: 7.789 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001392/0.9897, allocations: 0.5985 MB / 1.048 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008027/0.9905, allocations: 0.5191 MB / 1.049 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9905, allocations: 0.5 kB / 1.049 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.9909, allocations: 253.4 kB / 1.049 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.9914, allocations: 76.73 kB / 1.049 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.9927, allocations: 0.7396 MB / 1.05 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.9933, allocations: 0.9077 MB / 1.051 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.9936, allocations: 96.19 kB / 1.051 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.9938, allocations: 54.73 kB / 1.051 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.9938, allocations: 0 / 1.051 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of Templates: time 0.01249/1.006, allocations: 6.913 MB / 1.058 GB, free: 14.12 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches