Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.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.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_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.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.618/2.618, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001115/0.001116, allocations: 180.9 kB / 487.4 MB, free: 5.035 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.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.0008994/0.0008993, allocations: 95.8 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.583e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2966, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.316, allocations: 158.9 MB / 1.361 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.316, allocations: 101.2 kB / 1.361 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03308/1.349, allocations: 14.02 MB / 1.375 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.349, allocations: 0 / 1.375 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.248e-05/1.349, allocations: 11.69 kB / 1.375 GB, free: 32.88 MB / 0.8386 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.001799/1.351, allocations: 0.8506 MB / 1.376 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.351, allocations: 15.56 kB / 1.376 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/1.351, allocations: 70.16 kB / 1.376 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/1.352, allocations: 456.4 kB / 1.376 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/1.352, allocations: 26.25 kB / 1.376 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.352, allocations: 42.73 kB / 1.376 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008292/1.353, allocations: 384.2 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/1.354, allocations: 481.4 kB / 1.377 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/1.354, allocations: 0 / 1.377 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/1.354, allocations: 11.33 kB / 1.377 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/1.354, allocations: 11.69 kB / 1.377 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/1.357, allocations: 1.447 MB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/1.357, allocations: 429.5 kB / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/1.358, allocations: 200.1 kB / 1.379 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/1.358, allocations: 8.281 kB / 1.379 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/1.358, allocations: 270.3 kB / 1.379 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 3.166e-06/1.358, allocations: 3.875 kB / 1.38 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.000767/1.359, allocations: 425.1 kB / 1.38 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.359, allocations: 122.3 kB / 1.38 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/1.359, allocations: 436.8 kB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/1.359, allocations: 39.55 kB / 1.38 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/1.36, allocations: 255.9 kB / 1.381 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/1.36, allocations: 144.8 kB / 1.381 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/1.36, allocations: 0 / 1.381 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.36, allocations: 362.8 kB / 1.381 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/1.36, allocations: 163.9 kB / 1.381 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/1.361, allocations: 286.8 kB / 1.382 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/1.361, allocations: 167.6 kB / 1.382 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.361, allocations: 0 / 1.382 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007404/1.362, allocations: 0.4973 MB / 1.382 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.362, allocations: 29.83 kB / 1.382 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.362, allocations: 7.969 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.362, allocations: 11.72 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/1.362, allocations: 88.16 kB / 1.382 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/1.362, allocations: 15.77 kB / 1.382 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/1.363, allocations: 61.8 kB / 1.382 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/1.363, allocations: 29.42 kB / 1.383 GB, free: 29.38 MB / 0.8386 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 () * 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.0001961/1.363, allocations: 156.5 kB / 1.383 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/1.363, allocations: 50.66 kB / 1.383 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/1.364, allocations: 0.4944 MB / 1.383 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.364, allocations: 7.688 kB / 1.383 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.364, allocations: 3.953 kB / 1.383 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.364, allocations: 11.91 kB / 1.383 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/1.366, allocations: 1.2 MB / 1.384 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.366, allocations: 0 / 1.384 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/1.366, allocations: 61.83 kB / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.366, allocations: 0 / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/1.366, allocations: 10.45 kB / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.366, allocations: 7.781 kB / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.366, allocations: 0 / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/1.367, allocations: 0.5563 MB / 1.385 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/1.367, allocations: 146.1 kB / 1.385 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/1.367, allocations: 11.73 kB / 1.385 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/1.367, allocations: 54.72 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.367, allocations: 91.86 kB / 1.385 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/1.367, allocations: 23.39 kB / 1.385 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003302/1.368, allocations: 301.8 kB / 1.386 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.368, allocations: 0 / 1.386 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006085/1.368, allocations: 132.1 kB / 1.386 GB, free: 28.01 MB / 0.8386 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) * 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.001371/1.37, allocations: 0.5955 MB / 1.386 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007987/1.371, allocations: 0.5126 MB / 1.387 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.371, allocations: 0.5 kB / 1.387 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/1.371, allocations: 262.3 kB / 1.387 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/1.371, allocations: 75.58 kB / 1.387 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/1.373, allocations: 0.7341 MB / 1.388 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/1.373, allocations: 0.9055 MB / 1.389 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003283/1.374, allocations: 98.03 kB / 1.389 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/1.374, allocations: 53.17 kB / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.374, allocations: 0 / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.01847/1.392, allocations: 6.883 MB / 1.396 GB, free: 23.02 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches