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.423/1.423, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000992/0.0009919, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0007568/0.0007569, allocations: 78.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.228e-05, allocations: 7.984 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2275, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7647/0.9923, allocations: 141.3 MB / 1.03 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/0.9927, allocations: 91.5 kB / 1.03 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03726/1.03, allocations: 13.96 MB / 1.044 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.873e-06/1.03, allocations: 0 / 1.044 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.883e-05/1.03, allocations: 16 kB / 1.044 GB, free: 13.73 MB / 0.6667 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.001393/1.032, allocations: 0.8402 MB / 1.044 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.032, allocations: 16.02 kB / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/1.032, allocations: 71.16 kB / 1.044 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/1.032, allocations: 467.9 kB / 1.045 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/1.033, allocations: 43.06 kB / 1.045 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/1.033, allocations: 61.3 kB / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/1.034, allocations: 0.5334 MB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.034, allocations: 3.953 kB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/1.034, allocations: 19.8 kB / 1.046 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/1.034, allocations: 12 kB / 1.046 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/1.034, allocations: 422.8 kB / 1.046 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/1.037, allocations: 1.545 MB / 1.047 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/1.038, allocations: 468 kB / 1.048 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/1.038, allocations: 209.9 kB / 1.048 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/1.038, allocations: 16.44 kB / 1.048 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005275/1.039, allocations: 293.8 kB / 1.048 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 2.134e-06/1.039, allocations: 0 / 1.048 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.0008299/1.039, allocations: 464 kB / 1.049 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/1.04, allocations: 115.4 kB / 1.049 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/1.04, allocations: 466.7 kB / 1.049 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/1.04, allocations: 50.02 kB / 1.049 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/1.04, allocations: 253.6 kB / 1.05 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.041, allocations: 169 kB / 1.05 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/1.041, allocations: 14.69 kB / 1.05 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.041, allocations: 362.5 kB / 1.05 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/1.041, allocations: 182.9 kB / 1.05 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/1.042, allocations: 308.7 kB / 1.051 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/1.042, allocations: 202.5 kB / 1.051 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.042, allocations: 0 / 1.051 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009087/1.043, allocations: 0.5856 MB / 1.051 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/1.043, allocations: 41.59 kB / 1.051 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.043, allocations: 0 / 1.051 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.043, allocations: 4 kB / 1.051 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/1.043, allocations: 87.5 kB / 1.052 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.043, allocations: 4 kB / 1.052 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/1.044, allocations: 85.05 kB / 1.052 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/1.044, allocations: 31.86 kB / 1.052 GB, free: 7.031 MB / 0.6667 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.0001857/1.044, allocations: 180.4 kB / 1.052 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/1.044, allocations: 51.42 kB / 1.052 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009513/1.045, allocations: 0.5453 MB / 1.052 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.045, allocations: 4 kB / 1.052 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.045, allocations: 0 / 1.052 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.045, allocations: 7.984 kB / 1.052 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.047, allocations: 1.333 MB / 1.054 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.047, allocations: 0 / 1.054 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/1.047, allocations: 59.34 kB / 1.054 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.047, allocations: 8 kB / 1.054 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/1.047, allocations: 14.48 kB / 1.054 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.047, allocations: 0 / 1.054 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.047, allocations: 3.984 kB / 1.054 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/1.048, allocations: 0.6046 MB / 1.054 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/1.048, allocations: 143.1 kB / 1.055 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/1.048, allocations: 15.62 kB / 1.055 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/1.049, allocations: 63.56 kB / 1.055 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.049, allocations: 92.86 kB / 1.055 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/1.049, allocations: 23.73 kB / 1.055 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003807/1.049, allocations: 328.3 kB / 1.055 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/1.049, allocations: 4 kB / 1.055 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006106/1.05, allocations: 158.5 kB / 1.055 GB, free: 4.102 MB / 0.6667 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.001551/1.052, allocations: 0.6385 MB / 1.056 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009736/1.053, allocations: 0.5449 MB / 1.056 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.053, allocations: 0 / 1.056 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/1.053, allocations: 268.8 kB / 1.057 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/1.054, allocations: 97.42 kB / 1.057 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.055, allocations: 0.7774 MB / 1.057 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/1.056, allocations: 0.907 MB / 1.058 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000327/1.056, allocations: 92.55 kB / 1.058 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/1.056, allocations: 55.3 kB / 1.058 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/1.056, allocations: 0 / 1.058 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of Templates: time 0.01402/1.07, allocations: 7.296 MB / 1.066 GB, free: 9.988 MB / 0.6823 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