Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, 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.001644/0.001644, allocations: 185.1 kB / 498.1 MB, free: 5.738 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.606/1.606, allocations: 223.2 MB / 0.7949 GB, free: 17.86 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.001041/0.001041, allocations: 96.33 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 12.08 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3634, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.5703, allocations: 152.1 MB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5706, allocations: 95.88 kB / 1.372 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.5834, allocations: 4.805 MB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5835, allocations: 0 / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.5835, allocations: 12 kB / 1.376 GB, free: 5.012 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008317/0.5843, allocations: 0.5284 MB / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5844, allocations: 8.031 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.5845, allocations: 27.72 kB / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.5848, allocations: 263.6 kB / 1.377 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.5848, allocations: 20.56 kB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.5849, allocations: 35.98 kB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.5855, allocations: 315.7 kB / 1.377 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5855, allocations: 0 / 1.377 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.5855, allocations: 15.94 kB / 1.377 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.5856, allocations: 8 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.586, allocations: 246.1 kB / 1.378 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.5876, allocations: 0.96 MB / 1.379 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.5881, allocations: 261.2 kB / 1.379 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.5881, allocations: 4.234 kB / 1.379 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.5885, allocations: 163.5 kB / 1.379 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.026e-06/0.5885, allocations: 4 kB / 1.379 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0007136/0.5892, allocations: 341.1 kB / 1.379 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5892, allocations: 63.41 kB / 1.379 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.5894, allocations: 182.3 kB / 1.38 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.5895, allocations: 41.7 kB / 1.38 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5896, allocations: 148.7 kB / 1.38 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.5897, allocations: 78.95 kB / 1.38 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.5897, allocations: 4 kB / 1.38 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5899, allocations: 334.8 kB / 1.38 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.5901, allocations: 95.95 kB / 1.38 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.5903, allocations: 153 kB / 1.38 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.5905, allocations: 91.98 kB / 1.38 GB, free: 440 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5906, allocations: 0 / 1.38 GB, free: 440 kB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005453/0.5911, allocations: 316.4 kB / 1.381 GB, free: 116 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5911, allocations: 8.156 kB / 1.381 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5912, allocations: 4 kB / 1.381 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5912, allocations: 4 kB / 1.381 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.5914, allocations: 39.91 kB / 1.381 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5914, allocations: 7.953 kB / 1.381 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5916, allocations: 51.81 kB / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.5917, allocations: 15.98 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.000198/0.5919, allocations: 165.6 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.592, allocations: 23.8 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.5926, allocations: 292 kB / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.5926, allocations: 4 kB / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5926, allocations: 0 / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5926, allocations: 3.953 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5937, allocations: 0.737 MB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5937, allocations: 0 / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.5939, allocations: 27.98 kB / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5939, allocations: 7.938 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.5939, allocations: 7.953 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5939, allocations: 3.984 kB / 1.382 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5939, allocations: 3.938 kB / 1.382 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.5944, allocations: 359.2 kB / 1.382 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.5945, allocations: 92.83 kB / 1.383 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.5945, allocations: 8 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5947, allocations: 47.92 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5949, allocations: 31.94 kB / 1.383 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.5949, allocations: 19.92 kB / 1.383 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001097/0.595, allocations: 131.4 kB / 1.383 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.595, allocations: 0 / 1.383 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003196/0.5953, allocations: 55.94 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002112/0.5956, allocations: 130.8 kB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005249/0.5961, allocations: 252.3 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.5961, allocations: 5.25 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.5964, allocations: 135.8 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.5967, allocations: 32.09 kB / 1.383 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.5976, allocations: 0.5268 MB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.598, allocations: 0.7683 MB / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.5981, allocations: 26.28 kB / 1.385 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.5982, allocations: 31.42 kB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5982, allocations: 4 kB / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of Templates: time 0.005787/0.604, allocations: 2.548 MB / 1.387 GB, free: 9.395 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches