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.382/2.382, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001192/0.001192, allocations: 181.1 kB / 498.1 MB, free: 5.688 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.739/1.739, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.0009637/0.0009638, allocations: 100.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003629, allocations: 6.125 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3705, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.518, allocations: 383.2 MB / 1.597 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.519, allocations: 111.4 kB / 1.597 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05059/1.569, allocations: 23.83 MB / 1.621 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.254e-06/1.569, allocations: 0 / 1.621 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.582e-05/1.569, allocations: 12 kB / 1.621 GB, free: 8.684 MB / 0.9323 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.001417/1.571, allocations: 0.831 MB / 1.621 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.571, allocations: 8.031 kB / 1.621 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/1.571, allocations: 71.25 kB / 1.621 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/1.584, allocations: 6.247 MB / 1.628 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/1.584, allocations: 58.42 kB / 1.628 GB, free: 2.801 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.391e-05/1.584, allocations: 61.77 kB / 1.628 GB, free: 2.758 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.585, allocations: 0.5471 MB / 1.628 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.585, allocations: 3.984 kB / 1.628 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/1.585, allocations: 17.06 kB / 1.628 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/1.585, allocations: 12 kB / 1.628 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/1.586, allocations: 435.2 kB / 1.629 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/1.588, allocations: 1.502 MB / 1.63 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/1.589, allocations: 412.5 kB / 1.63 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/1.589, allocations: 8.984 kB / 1.63 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/1.59, allocations: 266.3 kB / 1.631 GB, free: 468 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 2.735e-06/1.59, allocations: 0 / 1.631 GB, free: 468 kB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.00107/1.591, allocations: 0.561 MB / 1.631 GB, free: 40 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/1.591, allocations: 97.25 kB / 1.631 GB, free: 15.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/1.591, allocations: 359.6 kB / 1.632 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/1.591, allocations: 49.27 kB / 1.632 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.592, allocations: 234.4 kB / 1.632 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/1.592, allocations: 150.6 kB / 1.632 GB, free: 15.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/1.592, allocations: 7.5 kB / 1.632 GB, free: 15.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.592, allocations: 361.5 kB / 1.632 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/1.592, allocations: 170.3 kB / 1.633 GB, free: 14.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/1.593, allocations: 281.9 kB / 1.633 GB, free: 14.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/1.593, allocations: 166.8 kB / 1.633 GB, free: 14.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.593, allocations: 4 kB / 1.633 GB, free: 14.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000825/1.594, allocations: 0.5109 MB / 1.634 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.594, allocations: 8 kB / 1.634 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.594, allocations: 4 kB / 1.634 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.594, allocations: 8 kB / 1.634 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/1.594, allocations: 66.52 kB / 1.634 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.594, allocations: 7.938 kB / 1.634 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/1.594, allocations: 66.89 kB / 1.634 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/1.595, allocations: 19.88 kB / 1.634 GB, free: 13.98 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003743/1.595, allocations: 247.5 kB / 1.634 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/1.595, allocations: 47.44 kB / 1.634 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008767/1.596, allocations: 499.9 kB / 1.634 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.596, allocations: 4 kB / 1.635 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.596, allocations: 0 / 1.635 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.596, allocations: 7.969 kB / 1.635 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/1.598, allocations: 1.221 MB / 1.636 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.598, allocations: 4 kB / 1.636 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/1.598, allocations: 43.61 kB / 1.636 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/1.598, allocations: 11.94 kB / 1.636 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/1.598, allocations: 11.38 kB / 1.636 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.598, allocations: 4 kB / 1.636 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.598, allocations: 0 / 1.636 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/1.599, allocations: 0.5564 MB / 1.636 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.599, allocations: 131.3 kB / 1.636 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/1.599, allocations: 17.64 kB / 1.636 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/1.599, allocations: 34.78 kB / 1.636 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.599, allocations: 74.64 kB / 1.637 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/1.599, allocations: 19.48 kB / 1.637 GB, free: 11.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002778/1.6, allocations: 253.2 kB / 1.637 GB, free: 11.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.6, allocations: 4 kB / 1.637 GB, free: 11.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005228/1.6, allocations: 124.2 kB / 1.637 GB, free: 11.34 MB / 0.948 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) * Number of clocked states: 0 () * 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.001333/1.602, allocations: 494.4 kB / 1.637 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009967/1.603, allocations: 468.3 kB / 1.638 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.603, allocations: 0 / 1.638 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/1.603, allocations: 236.4 kB / 1.638 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/1.604, allocations: 81.22 kB / 1.638 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/1.606, allocations: 1.053 MB / 1.639 GB, free: 9.496 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/1.606, allocations: 0.8792 MB / 1.64 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003258/1.607, allocations: 68.39 kB / 1.64 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.607, allocations: 50.61 kB / 1.64 GB, free: 8.484 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/1.607, allocations: 0 / 1.64 GB, free: 8.484 MB / 0.948 GB Notification: Performance of Templates: time 0.01348/1.62, allocations: 6.441 MB / 1.646 GB, free: 2.102 MB / 0.948 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