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.277/2.277, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.00146/0.00146, allocations: 184.5 kB / 487.4 MB, free: 5.062 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.675/1.675, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.001088/0.001088, allocations: 101.3 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.357e-05, allocations: 6.188 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4086, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.645, allocations: 151.4 MB / 1.354 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.645, allocations: 92.34 kB / 1.354 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01411/1.659, allocations: 4.725 MB / 1.359 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.659, allocations: 4 kB / 1.359 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.459e-05/1.659, allocations: 8.719 kB / 1.359 GB, free: 33.55 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008615/1.66, allocations: 0.5126 MB / 1.359 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.66, allocations: 7.719 kB / 1.359 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/1.66, allocations: 32.69 kB / 1.359 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/1.661, allocations: 260 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/1.661, allocations: 9.234 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/1.661, allocations: 19.38 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004365/1.661, allocations: 197.8 kB / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/1.662, allocations: 258 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.662, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/1.662, allocations: 9.203 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.662, allocations: 3.844 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/1.663, allocations: 0.8996 MB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/1.664, allocations: 220.9 kB / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.664, allocations: 98.64 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/1.664, allocations: 4.078 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/1.664, allocations: 141.3 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/1.664, allocations: 0 / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004399/1.665, allocations: 203.4 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.665, allocations: 58.28 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/1.665, allocations: 167.9 kB / 1.362 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/1.665, allocations: 36.61 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/1.665, allocations: 158.3 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/1.665, allocations: 65.61 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.665, allocations: 0 / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.665, allocations: 344.1 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.666, allocations: 73.28 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/1.666, allocations: 128 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/1.666, allocations: 74.62 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.666, allocations: 0 / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003557/1.666, allocations: 246.1 kB / 1.363 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.666, allocations: 9.766 kB / 1.363 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.666, allocations: 4 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.666, allocations: 3.094 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/1.667, allocations: 40.92 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.667, allocations: 7.75 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/1.667, allocations: 48.44 kB / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/1.667, allocations: 17.05 kB / 1.363 GB, free: 31.51 MB / 0.8386 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 () * 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.000139/1.667, allocations: 127 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/1.667, allocations: 19.34 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/1.668, allocations: 226.6 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.668, allocations: 3.625 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.668, allocations: 0 / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.668, allocations: 5.734 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/1.668, allocations: 0.6333 MB / 1.364 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.668, allocations: 3.281 kB / 1.364 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/1.669, allocations: 34.38 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.669, allocations: 3.812 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/1.669, allocations: 10.89 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.669, allocations: 0 / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.669, allocations: 0 / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/1.669, allocations: 319.2 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/1.669, allocations: 88.77 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/1.669, allocations: 10.22 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/1.669, allocations: 31.3 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.67, allocations: 36.33 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/1.67, allocations: 9.625 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.166e-05/1.67, allocations: 118.8 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.9e-07/1.67, allocations: 0 / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003476/1.67, allocations: 51.66 kB / 1.364 GB, free: 30.69 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: 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) * 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.0002299/1.67, allocations: 125.2 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003648/1.671, allocations: 210.2 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.671, allocations: 0 / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/1.671, allocations: 115.9 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/1.671, allocations: 24.19 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/1.672, allocations: 308.2 kB / 1.365 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/1.672, allocations: 0.7622 MB / 1.366 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001185/1.672, allocations: 33.62 kB / 1.366 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/1.672, allocations: 29.48 kB / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.672, allocations: 0 / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.006976/1.679, allocations: 2.394 MB / 1.368 GB, free: 29.54 MB / 0.8386 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