Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.426/2.426, allocations: 390.5 MB / 398 MB, free: 11.03 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.001466/0.001467, allocations: 180 kB / 491.2 MB, free: 1.617 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.831/1.831, 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.001025/0.001025, allocations: 87.75 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.594e-05, allocations: 1.953 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3676, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.608, allocations: 152.2 MB / 1.361 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.608, allocations: 92.23 kB / 1.361 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01207/1.62, allocations: 4.737 MB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.62, allocations: 3.938 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.894e-05/1.62, allocations: 11.66 kB / 1.366 GB, free: 32.75 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.000654/1.621, allocations: 0.5014 MB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.621, allocations: 7.781 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/1.621, allocations: 34.91 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/1.622, allocations: 258.8 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/1.622, allocations: 17.2 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/1.622, allocations: 19.19 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003713/1.622, allocations: 193.8 kB / 1.367 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/1.622, allocations: 266.9 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.622, allocations: 0 / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/1.622, allocations: 0 / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.622, allocations: 11.66 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.624, allocations: 0.8945 MB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/1.624, allocations: 221.5 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.624, allocations: 94.02 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/1.624, allocations: 7.219 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/1.625, allocations: 133 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/1.625, allocations: 4 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0003583/1.625, allocations: 206.8 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/1.625, allocations: 66.17 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.625, allocations: 162.3 kB / 1.369 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/1.625, allocations: 32.55 kB / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/1.625, allocations: 157.9 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/1.625, allocations: 70.59 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/1.625, allocations: 0 / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.625, allocations: 330.5 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.626, allocations: 79.56 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.626, allocations: 119.4 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/1.626, allocations: 76.81 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.626, allocations: 4 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003444/1.626, allocations: 250.2 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.626, allocations: 7.75 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.626, allocations: 4 kB / 1.37 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.626, allocations: 3.906 kB / 1.37 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.626, allocations: 40.53 kB / 1.37 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.626, allocations: 3.75 kB / 1.37 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/1.627, allocations: 47.78 kB / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/1.627, allocations: 16.78 kB / 1.37 GB, free: 30.72 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.000105/1.627, allocations: 122.9 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/1.627, allocations: 26.94 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/1.627, allocations: 230.5 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.627, allocations: 7.828 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.627, allocations: 0 / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.627, allocations: 2.859 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/1.628, allocations: 0.6371 MB / 1.371 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.628, allocations: 7.844 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.628, allocations: 32.48 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.628, allocations: 3.875 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/1.628, allocations: 2.672 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.628, allocations: 0 / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.628, allocations: 7.891 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/1.629, allocations: 304.6 kB / 1.371 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/1.629, allocations: 95.89 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/1.629, allocations: 3.844 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/1.629, allocations: 27.28 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/1.629, allocations: 41.34 kB / 1.371 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/1.629, allocations: 10.66 kB / 1.371 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.437e-05/1.629, allocations: 128.3 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.629, allocations: 0 / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003022/1.629, allocations: 52.83 kB / 1.372 GB, free: 29.9 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.0001617/1.629, allocations: 111.5 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003306/1.63, allocations: 212.8 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.63, allocations: 0 / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/1.63, allocations: 109.2 kB / 1.372 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/1.63, allocations: 30.36 kB / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/1.631, allocations: 305.4 kB / 1.372 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.631, allocations: 0.7687 MB / 1.373 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001113/1.631, allocations: 30.94 kB / 1.373 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/1.631, allocations: 27 kB / 1.373 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.631, allocations: 0 / 1.373 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.005128/1.636, allocations: 2.4 MB / 1.375 GB, free: 28.76 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches