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.406/1.406, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 172.2 kB / 326.5 MB, free: 2.25 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.931/1.931, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000931/0.0009309, allocations: 83.75 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 12.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4222, allocations: 141.4 MB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4225, allocations: 99.92 kB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03699/0.4595, allocations: 13.99 MB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.857e-06/0.4595, allocations: 0 / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.289e-05/0.4596, allocations: 19.94 kB / 1.052 GB, free: 4.219 MB / 0.698 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.001952/0.4616, allocations: 0.9094 MB / 1.053 GB, free: 3.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4616, allocations: 12.02 kB / 1.053 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.4619, allocations: 71.16 kB / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.4628, allocations: 473.8 kB / 1.053 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.4629, allocations: 48.98 kB / 1.053 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.463, allocations: 52 kB / 1.053 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.4642, allocations: 0.5661 MB / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4643, allocations: 7.953 kB / 1.054 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.4643, allocations: 23.97 kB / 1.054 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4644, allocations: 15.94 kB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4654, allocations: 467.7 kB / 1.055 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.461/0.9264, allocations: 1.541 MB / 1.056 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.9279, allocations: 0.4971 MB / 1.056 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.928, allocations: 8.938 kB / 1.057 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008288/0.9289, allocations: 326.8 kB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.607e-06/0.9289, allocations: 2.062 kB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.00195/0.9308, allocations: 0.6774 MB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.9309, allocations: 123.3 kB / 1.058 GB, free: 144.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.9317, allocations: 466.4 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.74e-05/0.9318, allocations: 51.23 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.932, allocations: 252 kB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.9322, allocations: 162.5 kB / 1.058 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.9322, allocations: 11.97 kB / 1.058 GB, free: 143.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9324, allocations: 370.6 kB / 1.059 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.933, allocations: 205.4 kB / 1.059 GB, free: 143.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.9336, allocations: 334.4 kB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.9342, allocations: 229.8 kB / 1.06 GB, free: 143.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9342, allocations: 0 / 1.06 GB, free: 143.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001484/0.9357, allocations: 0.6292 MB / 1.06 GB, free: 143.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.9357, allocations: 38.61 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9358, allocations: 3.375 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.9358, allocations: 10.53 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.9363, allocations: 88.59 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9363, allocations: 5.656 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.9369, allocations: 78.22 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.9369, allocations: 28.5 kB / 1.06 GB, free: 143.3 MB / 0.698 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 () * Number of clocked 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.0004605/0.9374, allocations: 274.5 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.9375, allocations: 50 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.9389, allocations: 0.6017 MB / 1.061 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.939, allocations: 6.031 kB / 1.061 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.939, allocations: 0 / 1.061 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.939, allocations: 5.562 kB / 1.061 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.9411, allocations: 1.374 MB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9411, allocations: 0 / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.9414, allocations: 69.98 kB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.9414, allocations: 2.844 kB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.9414, allocations: 19.42 kB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9414, allocations: 0.6875 kB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9414, allocations: 2.5 kB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.9424, allocations: 0.6468 MB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.9425, allocations: 146.6 kB / 1.064 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.9426, allocations: 14.83 kB / 1.064 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.943, allocations: 62.55 kB / 1.064 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.9432, allocations: 95.88 kB / 1.064 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.9432, allocations: 22 kB / 1.064 GB, free: 142.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003491/0.9436, allocations: 332.5 kB / 1.064 GB, free: 142.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9436, allocations: 0 / 1.064 GB, free: 142.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000589/0.9442, allocations: 151 kB / 1.064 GB, free: 142.4 MB / 0.698 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) * Number of clocked states: 0 () * 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.001488/0.9457, allocations: 0.7305 MB / 1.065 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.9474, allocations: 0.5973 MB / 1.065 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9474, allocations: 0.5 kB / 1.065 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/0.9483, allocations: 294.8 kB / 1.066 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.949, allocations: 85.66 kB / 1.066 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.9519, allocations: 1.163 MB / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.9527, allocations: 0.9069 MB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005778/0.9533, allocations: 94.59 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.9536, allocations: 59.45 kB / 1.068 GB, free: 140.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.9536, allocations: 0.9375 kB / 1.068 GB, free: 140.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02212/0.9757, allocations: 7.279 MB / 1.075 GB, free: 140.3 MB / 0.698 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