Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 110.7 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 185.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.84 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9513, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.007834/0.9592, allocations: 5.632 MB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.9618, allocations: 1.445 MB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.9624, allocations: 11.94 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.9635, allocations: 218.9 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008518/0.9643, allocations: 222.8 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.9655, allocations: 422.5 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.9668, allocations: 0.8354 MB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.9675, allocations: 0.5212 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.9678, allocations: 303 kB / 1.177 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.9682, allocations: 302.7 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.9683, allocations: 76 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.9686, allocations: 163.9 kB / 1.177 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.9687, allocations: 167.6 kB / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.9691, allocations: 310.5 kB / 1.178 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.9701, allocations: 0.9345 MB / 1.179 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.9701, allocations: 4 kB / 1.179 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9701, allocations: 0 / 1.179 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.9701, allocations: 0 / 1.179 GB, free: 8.301 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001568/0.9717, allocations: 0.923 MB / 1.179 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9718, allocations: 8.922 kB / 1.179 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.9719, allocations: 68.52 kB / 1.18 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.9726, allocations: 456.5 kB / 1.18 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.9727, allocations: 49.69 kB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.9728, allocations: 63.92 kB / 1.18 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.9737, allocations: 0.5575 MB / 1.181 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9737, allocations: 3.938 kB / 1.181 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.9738, allocations: 20 kB / 1.181 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.9738, allocations: 15.98 kB / 1.181 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.9746, allocations: 423.8 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.9768, allocations: 1.492 MB / 1.183 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.9775, allocations: 418.6 kB / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.9779, allocations: 208.3 kB / 1.183 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.9779, allocations: 8.422 kB / 1.183 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005004/0.9784, allocations: 267.8 kB / 1.183 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=55): time 2.485e-06/0.9784, allocations: 0 / 1.183 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55): time 0.001072/0.9795, allocations: 0.5534 MB / 1.184 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.9796, allocations: 89.61 kB / 1.184 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.98, allocations: 396.3 kB / 1.184 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.98, allocations: 49.7 kB / 1.184 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.9802, allocations: 241.5 kB / 1.185 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.9803, allocations: 154.8 kB / 1.185 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.9805, allocations: 142.3 kB / 1.185 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9806, allocations: 354.8 kB / 1.185 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.981, allocations: 173.2 kB / 1.185 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.9814, allocations: 285.3 kB / 1.186 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.982, allocations: 358.3 kB / 1.186 GB, free: 316 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/0.982, allocations: 11.94 kB / 1.186 GB, free: 304 kB / 0.9044 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008748/0.9829, allocations: 0.5105 MB / 1.187 GB, free: 15.78 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9829, allocations: 4 kB / 1.187 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9829, allocations: 4 kB / 1.187 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.983, allocations: 4 kB / 1.187 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.9833, allocations: 71.83 kB / 1.187 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9833, allocations: 7.938 kB / 1.187 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.9835, allocations: 59.59 kB / 1.187 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.9836, allocations: 27.98 kB / 1.187 GB, free: 15.61 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$PRE.on.combiTimeTable.nextTimeEvent,$whenCondition5,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,on.combiTimeTable.nextTimeEventScaled,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEvent,chiStaCon.thrOneToTwo.y,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.localCondition,chiStaCon.twoToOne.t_start,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.localCondition,chiStaCon.oneToTwo.t_start,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.enableFire,chiStaCon.offToOne.t_start,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.fire,chiStaCon.offToOne.enableFire,chiStaCon.twoOn.active,chiStaCon.twoOn.oldActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.localActive,chiStaCon.oneOn.active,chiStaCon.oneOn.oldActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.localActive,$PRE.chiStaCon.oneOn.localActive,chiStaCon.off.oldActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.localActive,chiStaCon.off.active,chiStaCon.y[1],chiStaCon.stateGraphRoot.activeSteps,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0002799/0.9839, allocations: 249.7 kB / 1.187 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.984, allocations: 43.72 kB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/0.9848, allocations: 488.2 kB / 1.187 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.9848, allocations: 3.984 kB / 1.188 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9848, allocations: 0 / 1.188 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.9849, allocations: 128.7 kB / 1.188 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.985, allocations: 15.98 kB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.9852, allocations: 27.97 kB / 1.188 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.9854, allocations: 72.42 kB / 1.188 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009675/0.9863, allocations: 0.5495 MB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008151/0.9872, allocations: 0.6276 MB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003543/0.9875, allocations: 232.4 kB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002534/0.9878, allocations: 247 kB / 1.189 GB, free: 12.89 MB / 0.92 GB Notification: Performance of Backend: time 7.11e-07/0.9878, allocations: 3.938 kB / 1.189 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.9898, allocations: 0.7153 MB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of SimCode: time 0.001689/0.9915, allocations: 1.26 MB / 1.191 GB, free: 11.02 MB / 0.92 GB Notification: Performance of Templates: time 0.0142/1.006, allocations: 7.307 MB / 1.198 GB, free: 3.77 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches