Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") [: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 9.1.1-maint.9.1.x/package.mo): time 1.717/1.717, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009069/0.0009069, allocations: 185.2 kB / 487 MB, free: 5.367 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.059/1.059, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.000813/0.0008131, allocations: 98.25 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.541e-06/5.561e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1634, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.6158, allocations: 153.2 MB / 1.355 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.6161, allocations: 86.06 kB / 1.355 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01657/0.6327, allocations: 7.067 MB / 1.362 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.6327, allocations: 13.25 kB / 1.362 GB, free: 14.34 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0006516/0.6334, allocations: 0.6675 MB / 1.362 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.6334, allocations: 9.031 kB / 1.362 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.6335, allocations: 51.44 kB / 1.363 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.634, allocations: 396.8 kB / 1.363 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.634, allocations: 12 kB / 1.363 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.634, allocations: 28 kB / 1.363 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003814/0.6344, allocations: 267.7 kB / 1.363 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.6349, allocations: 354.9 kB / 1.364 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6349, allocations: 3.938 kB / 1.364 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.6349, allocations: 4 kB / 1.364 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6349, allocations: 8 kB / 1.364 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.6363, allocations: 1.254 MB / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.6367, allocations: 239 kB / 1.365 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.6368, allocations: 124.7 kB / 1.365 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.6368, allocations: 9.156 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.637, allocations: 186.4 kB / 1.365 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.202e-06/0.637, allocations: 3.938 kB / 1.365 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0003306/0.6374, allocations: 244.1 kB / 1.366 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.6374, allocations: 158.2 kB / 1.366 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.6376, allocations: 235.7 kB / 1.366 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.6376, allocations: 29.7 kB / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.6377, allocations: 204.9 kB / 1.366 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.6377, allocations: 94.77 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.6378, allocations: 0 / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.6378, allocations: 344 kB / 1.367 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.638, allocations: 101.7 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.6381, allocations: 167.5 kB / 1.367 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.6384, allocations: 131.5 kB / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6384, allocations: 0 / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005036/0.6389, allocations: 331 kB / 1.367 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.639, allocations: 271.4 kB / 1.367 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.639, allocations: 4 kB / 1.368 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.639, allocations: 0 / 1.368 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.6392, allocations: 59.91 kB / 1.368 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.6392, allocations: 7.969 kB / 1.368 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.6396, allocations: 83.08 kB / 1.368 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.6396, allocations: 12 kB / 1.368 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-06/0.6396, allocations: 4 kB / 1.368 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004458/0.6401, allocations: 273.2 kB / 1.368 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.6401, allocations: 0 / 1.368 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/0.6401, allocations: 0 / 1.368 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.6403, allocations: 67.09 kB / 1.368 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.6403, allocations: 4 kB / 1.368 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.6406, allocations: 67.7 kB / 1.368 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.6406, allocations: 11.38 kB / 1.368 GB, free: 8.875 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 6.817e-05/0.6407, allocations: 114.3 kB / 1.368 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6408, allocations: 35.62 kB / 1.368 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.6411, allocations: 290 kB / 1.368 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6411, allocations: 4 kB / 1.368 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6411, allocations: 3.906 kB / 1.368 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6412, allocations: 0 / 1.368 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.6418, allocations: 0.7485 MB / 1.369 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6418, allocations: 3.938 kB / 1.369 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.642, allocations: 58.72 kB / 1.369 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.642, allocations: 4 kB / 1.369 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.642, allocations: 0 / 1.369 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.642, allocations: 4 kB / 1.369 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.642, allocations: 0 / 1.369 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004558/0.6425, allocations: 0.5293 MB / 1.37 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.6425, allocations: 115.2 kB / 1.37 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.6426, allocations: 4.062 kB / 1.37 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.6428, allocations: 19.98 kB / 1.37 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.6428, allocations: 15.97 kB / 1.37 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.6429, allocations: 11.81 kB / 1.37 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001132/0.643, allocations: 193.3 kB / 1.37 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004235/0.6434, allocations: 159.2 kB / 1.37 GB, free: 6.902 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001145/0.6435, allocations: 119.8 kB / 1.37 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.6441, allocations: 469.2 kB / 1.371 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6441, allocations: 0 / 1.371 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.6442, allocations: 126.9 kB / 1.371 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.6446, allocations: 55.98 kB / 1.371 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.6453, allocations: 474.4 kB / 1.371 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.6457, allocations: 0.8585 MB / 1.372 GB, free: 21 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/0.6457, allocations: 0 / 1.372 GB, free: 21 MB / 0.823 GB Notification: Performance of Templates: time 0.007237/0.6529, allocations: 5.415 MB / 1.378 GB, free: 15.66 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches