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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001134/0.001134, allocations: 188.8 kB / 487.4 MB, free: 5.082 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.537/1.537, allocations: 221.5 MB / 0.7824 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 99.59 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.936e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2982, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.532, allocations: 382.5 MB / 1.579 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.532, allocations: 101.5 kB / 1.58 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05935/1.592, allocations: 23.55 MB / 1.603 GB, free: 4.375 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.533e-06/1.592, allocations: 0 / 1.603 GB, free: 4.375 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.959e-05/1.592, allocations: 19 kB / 1.603 GB, free: 4.359 MB / 1.01 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.001973/1.594, allocations: 0.7776 MB / 1.603 GB, free: 3.562 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.594, allocations: 8.031 kB / 1.603 GB, free: 3.555 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/1.594, allocations: 63.34 kB / 1.603 GB, free: 3.492 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.609, allocations: 6.168 MB / 1.609 GB, free: 14.69 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/1.609, allocations: 22.81 kB / 1.609 GB, free: 14.67 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.61, allocations: 36 kB / 1.61 GB, free: 14.64 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001075/1.611, allocations: 387.5 kB / 1.61 GB, free: 14.41 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.612, allocations: 473.1 kB / 1.61 GB, free: 14.06 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.612, allocations: 0 / 1.61 GB, free: 14.06 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/1.612, allocations: 0 / 1.61 GB, free: 14.06 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/1.612, allocations: 16 kB / 1.61 GB, free: 14.05 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/1.615, allocations: 1.404 MB / 1.612 GB, free: 12.98 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/1.615, allocations: 378.1 kB / 1.612 GB, free: 12.73 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/1.616, allocations: 175.8 kB / 1.612 GB, free: 12.63 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/1.616, allocations: 5.297 kB / 1.612 GB, free: 12.62 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/1.616, allocations: 242.5 kB / 1.612 GB, free: 12.44 MB / 1.026 GB Notification: Performance of pre-optimization done (n=55): time 3.146e-06/1.616, allocations: 4 kB / 1.612 GB, free: 12.44 MB / 1.026 GB Notification: Performance of matching and sorting (n=55): time 0.0007699/1.617, allocations: 363.2 kB / 1.613 GB, free: 12.15 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/1.617, allocations: 89.48 kB / 1.613 GB, free: 12.05 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/1.618, allocations: 331.8 kB / 1.613 GB, free: 11.8 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/1.618, allocations: 40.69 kB / 1.613 GB, free: 11.76 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.618, allocations: 239.6 kB / 1.614 GB, free: 11.57 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.618, allocations: 131.7 kB / 1.614 GB, free: 11.46 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/1.618, allocations: 0 / 1.614 GB, free: 11.46 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.618, allocations: 361.7 kB / 1.614 GB, free: 11.12 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/1.619, allocations: 141.8 kB / 1.614 GB, free: 11.04 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/1.619, allocations: 261.1 kB / 1.614 GB, free: 10.82 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.619, allocations: 137.6 kB / 1.614 GB, free: 10.73 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.619, allocations: 0 / 1.614 GB, free: 10.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007663/1.62, allocations: 454.5 kB / 1.615 GB, free: 10.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.62, allocations: 4 kB / 1.615 GB, free: 10.38 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.62, allocations: 4 kB / 1.615 GB, free: 10.38 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.62, allocations: 4 kB / 1.615 GB, free: 10.37 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/1.62, allocations: 71.7 kB / 1.615 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.62, allocations: 4 kB / 1.615 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/1.621, allocations: 43.94 kB / 1.615 GB, free: 10.26 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/1.621, allocations: 27.2 kB / 1.615 GB, free: 10.24 MB / 1.026 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,$whenCondition5,$PRE.on.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],$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.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.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.enableFire,chiStaCon.offToOne.fire,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.enableFire,chiStaCon.oneToTwo.fire,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.fire,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.fire,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/1.621, allocations: 148 kB / 1.615 GB, free: 10.09 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/1.621, allocations: 47.42 kB / 1.615 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/1.622, allocations: 438.1 kB / 1.616 GB, free: 9.719 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.622, allocations: 8 kB / 1.616 GB, free: 9.711 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.622, allocations: 0 / 1.616 GB, free: 9.711 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.622, allocations: 0 / 1.616 GB, free: 9.711 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.624, allocations: 1.074 MB / 1.617 GB, free: 8.852 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.624, allocations: 0 / 1.617 GB, free: 8.852 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.624, allocations: 51.77 kB / 1.617 GB, free: 8.805 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.624, allocations: 4 kB / 1.617 GB, free: 8.801 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/1.624, allocations: 11.92 kB / 1.617 GB, free: 8.793 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.624, allocations: 7.891 kB / 1.617 GB, free: 8.785 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.624, allocations: 0 / 1.617 GB, free: 8.785 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/1.625, allocations: 0.4962 MB / 1.617 GB, free: 8.363 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.625, allocations: 131.2 kB / 1.617 GB, free: 8.223 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/1.625, allocations: 4 kB / 1.617 GB, free: 8.219 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/1.625, allocations: 27.91 kB / 1.617 GB, free: 8.195 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.626, allocations: 80.16 kB / 1.618 GB, free: 8.129 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/1.626, allocations: 19.73 kB / 1.618 GB, free: 8.113 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002762/1.626, allocations: 226.3 kB / 1.618 GB, free: 7.945 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.61e-07/1.626, allocations: 0 / 1.618 GB, free: 7.945 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0006051/1.626, allocations: 115.6 kB / 1.618 GB, free: 7.836 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (chiStaCon.twoToOne.enableFire,chiStaCon.oneToOff.enableFire,chiStaCon.offToOne.enableFire,chiStaCon.oneToTwo.enableFire,chiStaCon.twoOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.off.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.fire,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.t_start,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (on.combiTimeTable.nextTimeEvent,chiStaCon.off.newActive,chiStaCon.oneOn.newActive,chiStaCon.twoOn.newActive,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001173/1.628, allocations: 410.6 kB / 1.618 GB, free: 7.516 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0007669/1.628, allocations: 413.5 kB / 1.619 GB, free: 7.23 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.628, allocations: 0 / 1.619 GB, free: 7.23 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/1.629, allocations: 221.7 kB / 1.619 GB, free: 7.082 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/1.629, allocations: 61.41 kB / 1.619 GB, free: 7.035 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/1.631, allocations: 0.6235 MB / 1.62 GB, free: 6.492 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.631, allocations: 0.8793 MB / 1.62 GB, free: 5.59 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002927/1.632, allocations: 76.33 kB / 1.62 GB, free: 5.516 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/1.632, allocations: 54.91 kB / 1.621 GB, free: 5.465 MB / 1.026 GB Notification: Performance of SimCode: time 3.91e-07/1.632, allocations: 0 / 1.621 GB, free: 5.465 MB / 1.026 GB Notification: Performance of Templates: time 0.01418/1.646, allocations: 5.967 MB / 1.626 GB, free: 15.56 MB / 1.042 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","../files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches