Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 390.5 MB / 398 MB, free: 10.96 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.00201/0.00201, allocations: 179.6 kB / 491.2 MB, free: 1.562 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.593/1.593, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009804/0.0009803, allocations: 95.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.969e-05, allocations: 6.875 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2925, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.308, allocations: 159.7 MB / 1.368 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.308, allocations: 90.8 kB / 1.368 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03366/1.342, allocations: 14.02 MB / 1.382 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.342, allocations: 0 / 1.382 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.47e-05/1.342, allocations: 15.47 kB / 1.382 GB, free: 31.16 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.001956/1.344, allocations: 0.8499 MB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.344, allocations: 7.688 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/1.344, allocations: 72.56 kB / 1.383 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/1.345, allocations: 458.1 kB / 1.383 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/1.345, allocations: 26.52 kB / 1.383 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.346, allocations: 37.45 kB / 1.384 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007531/1.346, allocations: 394.5 kB / 1.384 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/1.347, allocations: 485 kB / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.347, allocations: 0 / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/1.347, allocations: 7.219 kB / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/1.347, allocations: 11.44 kB / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/1.349, allocations: 1.441 MB / 1.386 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/1.35, allocations: 427.3 kB / 1.386 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/1.35, allocations: 206.3 kB / 1.386 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/1.35, allocations: 8.047 kB / 1.386 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/1.351, allocations: 288.1 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 2.054e-06/1.351, allocations: 0 / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.0006863/1.351, allocations: 419 kB / 1.387 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.352, allocations: 118.4 kB / 1.387 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/1.352, allocations: 434.6 kB / 1.388 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/1.352, allocations: 44 kB / 1.388 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/1.352, allocations: 251.6 kB / 1.388 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.352, allocations: 144.8 kB / 1.388 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/1.352, allocations: 0 / 1.388 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.353, allocations: 364.9 kB / 1.388 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/1.353, allocations: 165.3 kB / 1.389 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/1.353, allocations: 293 kB / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/1.353, allocations: 157.9 kB / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.353, allocations: 3.906 kB / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007174/1.354, allocations: 0.5009 MB / 1.389 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.354, allocations: 33.17 kB / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/1.354, allocations: 3.875 kB / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.354, allocations: 8.047 kB / 1.389 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/1.355, allocations: 91.59 kB / 1.39 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.355, allocations: 7.656 kB / 1.39 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/1.355, allocations: 58.08 kB / 1.39 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/1.355, allocations: 29.02 kB / 1.39 GB, free: 27.67 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.0001671/1.355, allocations: 157.1 kB / 1.39 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/1.355, allocations: 57.39 kB / 1.39 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/1.356, allocations: 0.4951 MB / 1.39 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.356, allocations: 11.02 kB / 1.39 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.356, allocations: 0 / 1.39 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.356, allocations: 3.984 kB / 1.39 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/1.358, allocations: 1.201 MB / 1.392 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.358, allocations: 0 / 1.392 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/1.358, allocations: 57.31 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.358, allocations: 7.812 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.358, allocations: 11.52 kB / 1.392 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.358, allocations: 0 / 1.392 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.358, allocations: 0 / 1.392 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/1.359, allocations: 0.5626 MB / 1.392 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.359, allocations: 153.2 kB / 1.392 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/1.359, allocations: 3.844 kB / 1.392 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/1.359, allocations: 50.88 kB / 1.392 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.36, allocations: 94.92 kB / 1.392 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/1.36, allocations: 22.98 kB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002968/1.36, allocations: 304.6 kB / 1.393 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.5e-07/1.36, allocations: 3.938 kB / 1.393 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005627/1.361, allocations: 132 kB / 1.393 GB, free: 26.29 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.001339/1.362, allocations: 0.5982 MB / 1.393 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006979/1.363, allocations: 0.5121 MB / 1.394 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.363, allocations: 3.938 kB / 1.394 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/1.363, allocations: 249 kB / 1.394 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/1.363, allocations: 79.89 kB / 1.394 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.365, allocations: 0.7406 MB / 1.395 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/1.365, allocations: 0.9042 MB / 1.396 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002917/1.365, allocations: 94.45 kB / 1.396 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/1.366, allocations: 57.02 kB / 1.396 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.366, allocations: 0 / 1.396 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.01233/1.378, allocations: 6.888 MB / 1.403 GB, free: 20.89 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches