Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001635/0.001635, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.001841/0.001841, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.846, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.00674/0.8528, allocations: 5.616 MB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.8552, allocations: 1.454 MB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.8555, allocations: 12.06 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.8564, allocations: 222.5 kB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.8569, allocations: 222.4 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.8579, allocations: 415.7 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.8592, allocations: 0.8392 MB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008457/0.8601, allocations: 0.5271 MB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.8605, allocations: 298.5 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.8609, allocations: 305.2 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.8611, allocations: 77.12 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.8614, allocations: 147.6 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.8617, allocations: 178.3 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.862, allocations: 313.3 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.8635, allocations: 0.9383 MB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8635, allocations: 1.656 kB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8635, allocations: 0 / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.8635, allocations: 3.938 kB / 1.1 GB, free: 14.3 MB / 0.8731 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.001822/0.8653, allocations: 0.9042 MB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8654, allocations: 9.375 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.8656, allocations: 64.91 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.8664, allocations: 455.9 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.8665, allocations: 46.84 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.8666, allocations: 64.8 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.8677, allocations: 0.5602 MB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.8677, allocations: 5.812 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.8678, allocations: 20.64 kB / 1.102 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.8678, allocations: 12.94 kB / 1.102 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.8687, allocations: 422.2 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.8712, allocations: 1.489 MB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008947/0.8721, allocations: 409.8 kB / 1.104 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.8726, allocations: 198 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.8726, allocations: 17.98 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.8732, allocations: 264.6 kB / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=55): time 2.575e-06/0.8733, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55): time 0.001274/0.8745, allocations: 0.5565 MB / 1.105 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.8746, allocations: 90.92 kB / 1.105 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.8752, allocations: 386.8 kB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/0.8753, allocations: 53.52 kB / 1.106 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.8756, allocations: 242.2 kB / 1.106 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.8757, allocations: 138.3 kB / 1.106 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.876, allocations: 149.3 kB / 1.106 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.8762, allocations: 357.2 kB / 1.107 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.8767, allocations: 176.5 kB / 1.107 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.8774, allocations: 276 kB / 1.107 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.8781, allocations: 364.5 kB / 1.107 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.8781, allocations: 3.938 kB / 1.107 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001037/0.8792, allocations: 0.5049 MB / 1.108 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.8792, allocations: 6.375 kB / 1.108 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8792, allocations: 1.781 kB / 1.108 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.8792, allocations: 9.891 kB / 1.108 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.8796, allocations: 68.86 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.8796, allocations: 4.984 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.8799, allocations: 66.81 kB / 1.108 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.88, allocations: 26.48 kB / 1.108 GB, free: 9.48 MB / 0.8731 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.0003414/0.8803, allocations: 245.6 kB / 1.108 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.8804, allocations: 40.14 kB / 1.108 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.8814, allocations: 494.2 kB / 1.109 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.8814, allocations: 2.953 kB / 1.109 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.8814, allocations: 0 / 1.109 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.8816, allocations: 124.9 kB / 1.109 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.8816, allocations: 13.19 kB / 1.109 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.8819, allocations: 30.27 kB / 1.109 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.882, allocations: 72.06 kB / 1.109 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/0.8831, allocations: 0.5391 MB / 1.11 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000892/0.884, allocations: 0.6399 MB / 1.11 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004022/0.8844, allocations: 227.1 kB / 1.11 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003498/0.8848, allocations: 248.2 kB / 1.111 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of Backend: time 5.01e-07/0.8848, allocations: 0 / 1.111 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.8868, allocations: 0.7136 MB / 1.111 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001734/0.8886, allocations: 1.25 MB / 1.113 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of Templates: time 0.01749/0.9061, allocations: 7.298 MB / 1.12 GB, free: 6.223 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.sim & ./Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches