Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") [: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.712/1.712, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009458/0.0009458, allocations: 181.3 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.083/1.083, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008337/0.0008337, allocations: 91.95 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.29e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.6175, allocations: 153.1 MB / 1.355 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.6177, allocations: 86.97 kB / 1.355 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01895/0.6367, allocations: 8.428 MB / 1.363 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.6367, allocations: 12 kB / 1.363 GB, free: 13.49 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008304/0.6376, allocations: 0.7729 MB / 1.364 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.6376, allocations: 8.031 kB / 1.364 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.6377, allocations: 75.16 kB / 1.364 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.6381, allocations: 429.2 kB / 1.364 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6382, allocations: 16 kB / 1.364 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.6382, allocations: 32 kB / 1.364 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004823/0.6387, allocations: 322.5 kB / 1.365 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.6393, allocations: 435.5 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6393, allocations: 4 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.6393, allocations: 3.938 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.6394, allocations: 16 kB / 1.365 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.641, allocations: 1.609 MB / 1.367 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/0.6419, allocations: 463.8 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.6421, allocations: 182.2 kB / 1.367 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.6422, allocations: 4.594 kB / 1.367 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.6424, allocations: 211.6 kB / 1.367 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.6424, allocations: 0 / 1.367 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0004127/0.6428, allocations: 293 kB / 1.368 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.6429, allocations: 166.2 kB / 1.368 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.6431, allocations: 334.5 kB / 1.368 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6431, allocations: 25.7 kB / 1.368 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.6432, allocations: 235.2 kB / 1.368 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.6433, allocations: 115.4 kB / 1.369 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.6433, allocations: 0 / 1.369 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.6434, allocations: 348.9 kB / 1.369 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6435, allocations: 107.3 kB / 1.369 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.6437, allocations: 185.2 kB / 1.369 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.6438, allocations: 113.8 kB / 1.369 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6438, allocations: 0 / 1.369 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000393/0.6442, allocations: 338.4 kB / 1.37 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.6443, allocations: 366.1 kB / 1.37 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6443, allocations: 0 / 1.37 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6443, allocations: 7.938 kB / 1.37 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.6447, allocations: 83.89 kB / 1.37 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6447, allocations: 11.97 kB / 1.37 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.645, allocations: 79.62 kB / 1.37 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.645, allocations: 11 kB / 1.37 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.509e-06/0.645, allocations: 4 kB / 1.37 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003161/0.6453, allocations: 251.7 kB / 1.37 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.6453, allocations: 0 / 1.37 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/0.6453, allocations: 4 kB / 1.37 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.6456, allocations: 71.28 kB / 1.37 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.6456, allocations: 0 / 1.37 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.6459, allocations: 67.86 kB / 1.371 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.6459, allocations: 12 kB / 1.371 GB, free: 7.07 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * 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 7.071e-05/0.646, allocations: 118.6 kB / 1.371 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.646, allocations: 43.44 kB / 1.371 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.6464, allocations: 310.6 kB / 1.371 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6464, allocations: 4 kB / 1.371 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.6465, allocations: 0 / 1.371 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6465, allocations: 4 kB / 1.371 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.6472, allocations: 0.9421 MB / 1.372 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6472, allocations: 0 / 1.372 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.6475, allocations: 87.3 kB / 1.372 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6475, allocations: 0 / 1.372 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.6476, allocations: 7.922 kB / 1.372 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6476, allocations: 4 kB / 1.372 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6476, allocations: 3.906 kB / 1.372 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005561/0.6481, allocations: 0.5757 MB / 1.373 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.6482, allocations: 120.1 kB / 1.373 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.6483, allocations: 11.09 kB / 1.373 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.6485, allocations: 48.02 kB / 1.373 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.6486, allocations: 27.64 kB / 1.373 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.6486, allocations: 15.56 kB / 1.373 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001748/0.6488, allocations: 249.3 kB / 1.373 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004021/0.6492, allocations: 174.6 kB / 1.373 GB, free: 4.82 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0001003/0.6493, allocations: 103.2 kB / 1.373 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.6498, allocations: 430.4 kB / 1.374 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6498, allocations: 4 kB / 1.374 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.65, allocations: 151.3 kB / 1.374 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.6504, allocations: 75.91 kB / 1.374 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.6514, allocations: 0.6034 MB / 1.374 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.6518, allocations: 0.9136 MB / 1.375 GB, free: 18.79 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.6518, allocations: 0 / 1.375 GB, free: 18.79 MB / 0.823 GB Notification: Performance of Templates: time 0.009133/0.6609, allocations: 6.147 MB / 1.381 GB, free: 12.71 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches