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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.729/1.729, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009171/0.0009171, allocations: 192.1 kB / 490.8 MB, free: 1.91 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.077/1.077, allocations: 221.3 MB / 0.7863 GB, free: 13.78 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.0008096/0.0008096, allocations: 91.3 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.911e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1824, allocations: 143 MB / 1.212 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4579/0.6403, allocations: 152.4 MB / 1.36 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.6406, allocations: 87.81 kB / 1.36 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01045/0.651, allocations: 4.445 MB / 1.365 GB, free: 12.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6511, allocations: 8.875 kB / 1.365 GB, free: 12.89 MB / 0.823 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.0005441/0.6516, allocations: 0.5108 MB / 1.365 GB, free: 12.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.6516, allocations: 8.031 kB / 1.365 GB, free: 12.35 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.6517, allocations: 31.62 kB / 1.365 GB, free: 12.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.652, allocations: 275.3 kB / 1.366 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.652, allocations: 12 kB / 1.366 GB, free: 12.03 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.652, allocations: 20 kB / 1.366 GB, free: 12.01 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003212/0.6524, allocations: 192.3 kB / 1.366 GB, free: 11.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.6527, allocations: 264.5 kB / 1.366 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6527, allocations: 0 / 1.366 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.6528, allocations: 0 / 1.366 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.6528, allocations: 8 kB / 1.366 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.654, allocations: 0.8955 MB / 1.367 GB, free: 10.94 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.6543, allocations: 214.6 kB / 1.367 GB, free: 10.78 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.6545, allocations: 99.42 kB / 1.367 GB, free: 10.72 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.6545, allocations: 4.234 kB / 1.367 GB, free: 10.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.6547, allocations: 140 kB / 1.367 GB, free: 10.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.6547, allocations: 3.938 kB / 1.367 GB, free: 10.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0003155/0.655, allocations: 194.5 kB / 1.368 GB, free: 10.44 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.655, allocations: 59.41 kB / 1.368 GB, free: 10.37 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6552, allocations: 168.4 kB / 1.368 GB, free: 10.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.6552, allocations: 32.95 kB / 1.368 GB, free: 10.19 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.6553, allocations: 143.3 kB / 1.368 GB, free: 10.05 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.6553, allocations: 73.48 kB / 1.368 GB, free: 9.992 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.6553, allocations: 0 / 1.368 GB, free: 9.992 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.6554, allocations: 326.5 kB / 1.368 GB, free: 9.672 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.6555, allocations: 82.11 kB / 1.368 GB, free: 9.625 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.6557, allocations: 125.3 kB / 1.369 GB, free: 9.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.6558, allocations: 77.41 kB / 1.369 GB, free: 9.469 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6558, allocations: 0 / 1.369 GB, free: 9.469 MB / 0.823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003343/0.6561, allocations: 242.7 kB / 1.369 GB, free: 9.277 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-06/0.6562, allocations: 8.031 kB / 1.369 GB, free: 9.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6562, allocations: 11.92 kB / 1.369 GB, free: 9.258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6562, allocations: 4 kB / 1.369 GB, free: 9.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.6564, allocations: 39.36 kB / 1.369 GB, free: 9.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6564, allocations: 11.89 kB / 1.369 GB, free: 9.207 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.6566, allocations: 39.91 kB / 1.369 GB, free: 9.168 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.6566, allocations: 11.31 kB / 1.369 GB, free: 9.16 MB / 0.823 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 8.374e-05/0.6567, allocations: 135.4 kB / 1.369 GB, free: 9.027 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.6568, allocations: 15.81 kB / 1.369 GB, free: 9.012 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.6571, allocations: 227.4 kB / 1.369 GB, free: 8.844 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.6571, allocations: 4 kB / 1.369 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.6571, allocations: 0 / 1.369 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6571, allocations: 7.922 kB / 1.369 GB, free: 8.832 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.6579, allocations: 0.6333 MB / 1.37 GB, free: 8.277 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6579, allocations: 0 / 1.37 GB, free: 8.277 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.658, allocations: 27.36 kB / 1.37 GB, free: 8.254 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.658, allocations: 4 kB / 1.37 GB, free: 8.25 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.6581, allocations: 4 kB / 1.37 GB, free: 8.246 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6581, allocations: 7.938 kB / 1.37 GB, free: 8.238 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6581, allocations: 4 kB / 1.37 GB, free: 8.234 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002969/0.6584, allocations: 301.1 kB / 1.37 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.6584, allocations: 92.83 kB / 1.37 GB, free: 7.859 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.6585, allocations: 7.812 kB / 1.37 GB, free: 7.855 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.6587, allocations: 35.97 kB / 1.37 GB, free: 7.82 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.6588, allocations: 34.75 kB / 1.37 GB, free: 7.793 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.6588, allocations: 8 kB / 1.37 GB, free: 7.785 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.099e-05/0.6589, allocations: 126.4 kB / 1.371 GB, free: 7.676 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002601/0.6591, allocations: 47.91 kB / 1.371 GB, free: 7.629 MB / 0.823 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.0001304/0.6593, allocations: 116.9 kB / 1.371 GB, free: 7.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.6596, allocations: 219 kB / 1.371 GB, free: 7.352 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.6596, allocations: 0 / 1.371 GB, free: 7.352 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.6597, allocations: 104.6 kB / 1.371 GB, free: 7.281 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.66, allocations: 25.36 kB / 1.371 GB, free: 7.262 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.6605, allocations: 310.3 kB / 1.371 GB, free: 6.988 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.6608, allocations: 0.798 MB / 1.372 GB, free: 6.164 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.6608, allocations: 0 / 1.372 GB, free: 6.164 MB / 0.823 GB Notification: Performance of Templates: time 0.005056/0.6659, allocations: 2.912 MB / 1.375 GB, free: 3.297 MB / 0.823 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