Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBra.yVAV|vavBra.yVal|TSupAir.y|vavBra.terHea.sta_b1.T|vavBra.senMasFlo.m_flow",fileNamePrefix="Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBra.yVAV|vavBra.yVal|TSupAir.y|vavBra.terHea.sta_b1.T|vavBra.senMasFlo.m_flow",fileNamePrefix="Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") [: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 2.023/2.023, 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.001179/0.001179, allocations: 181.2 kB / 487 MB, free: 5.324 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.361/1.361, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009958/0.0009958, allocations: 93.47 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.64e-06/5.73e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.057/4.275, allocations: 2.187 GB / 3.392 GB, free: 113.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/4.275, allocations: 87.94 kB / 3.392 GB, free: 113.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.517/7.792, allocations: 1.049 GB / 4.441 GB, free: 184 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001613/7.792, allocations: 49.88 kB / 4.441 GB, free: 184 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006387/7.799, allocations: 2.453 MB / 4.443 GB, free: 183.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/7.799, allocations: 11.38 kB / 4.443 GB, free: 183.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/7.802, allocations: 0.5392 MB / 4.444 GB, free: 183.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/7.806, allocations: 2.069 MB / 4.446 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005914/7.806, allocations: 189.6 kB / 4.446 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/7.806, allocations: 71.19 kB / 4.446 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001951/7.808, allocations: 1.378 MB / 4.447 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/7.81, allocations: 1.362 MB / 4.449 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/7.81, allocations: 5.906 kB / 4.449 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/7.81, allocations: 0 / 4.449 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/7.81, allocations: 45.58 kB / 4.449 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/7.82, allocations: 7.564 MB / 4.456 GB, free: 179.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/7.821, allocations: 1.215 MB / 4.457 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/7.822, allocations: 0.5837 MB / 4.458 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/7.823, allocations: 0.7169 MB / 4.459 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/7.823, allocations: 49.23 kB / 4.459 GB, free: 178.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 2.445e-06/7.823, allocations: 0 / 4.459 GB, free: 178.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.003294/7.826, allocations: 1.472 MB / 4.46 GB, free: 178.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/7.826, allocations: 111.2 kB / 4.46 GB, free: 178.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/7.828, allocations: 1.537 MB / 4.462 GB, free: 178.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/7.828, allocations: 29.11 kB / 4.462 GB, free: 178.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/7.829, allocations: 0.4896 MB / 4.462 GB, free: 178.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/7.829, allocations: 235.6 kB / 4.462 GB, free: 178.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/7.829, allocations: 0 / 4.462 GB, free: 178.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/7.829, allocations: 370.1 kB / 4.463 GB, free: 177.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/7.83, allocations: 1.145 MB / 4.464 GB, free: 177.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/7.832, allocations: 1.537 MB / 4.465 GB, free: 177.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/7.834, allocations: 1.25 MB / 4.467 GB, free: 177.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/7.834, allocations: 3.25 kB / 4.467 GB, free: 177.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004692/7.839, allocations: 2.794 MB / 4.469 GB, free: 177.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005008/7.84, allocations: 2.905 MB / 4.472 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/7.84, allocations: 8.469 kB / 4.472 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/7.84, allocations: 21.12 kB / 4.472 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/7.842, allocations: 405.5 kB / 4.473 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/7.842, allocations: 19.89 kB / 4.473 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/7.844, allocations: 265.4 kB / 4.473 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/7.844, allocations: 89.53 kB / 4.473 GB, free: 174.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/7.844, allocations: 6.875 kB / 4.473 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004432/7.849, allocations: 2.61 MB / 4.475 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/7.849, allocations: 5.781 kB / 4.475 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/7.849, allocations: 17.62 kB / 4.475 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/7.851, allocations: 410.9 kB / 4.476 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/7.851, allocations: 21.88 kB / 4.476 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/7.853, allocations: 228.1 kB / 4.476 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/7.853, allocations: 91.19 kB / 4.476 GB, free: 174.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime,vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 1 * 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.0004327/7.854, allocations: 147.8 kB / 4.476 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/7.854, allocations: 149.2 kB / 4.476 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/7.858, allocations: 1.665 MB / 4.478 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/7.858, allocations: 15.05 kB / 4.478 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/7.858, allocations: 3.906 kB / 4.478 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/7.858, allocations: 3.75 kB / 4.478 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/7.864, allocations: 3.614 MB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/7.864, allocations: 3.828 kB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/7.866, allocations: 239.7 kB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/7.866, allocations: 10.94 kB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/7.866, allocations: 26 kB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/7.866, allocations: 11 kB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/7.866, allocations: 7.312 kB / 4.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003727/7.869, allocations: 2.646 MB / 4.484 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007505/7.87, allocations: 499 kB / 4.485 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/7.87, allocations: 3.875 kB / 4.485 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/7.872, allocations: 148.9 kB / 4.485 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/7.872, allocations: 52.25 kB / 4.485 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/7.872, allocations: 59.14 kB / 4.485 GB, free: 172.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001423/7.874, allocations: 1.126 MB / 4.486 GB, free: 172.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003936/7.877, allocations: 1.207 MB / 4.487 GB, free: 172.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003456/7.881, allocations: 2.707 MB / 4.49 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004535/7.885, allocations: 3.483 MB / 4.494 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/7.886, allocations: 7.766 kB / 4.494 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/7.886, allocations: 0.5825 MB / 4.494 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/7.889, allocations: 430.1 kB / 4.495 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/7.893, allocations: 2.333 MB / 4.497 GB, free: 171.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/7.895, allocations: 1.503 MB / 4.498 GB, free: 170.3 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/7.895, allocations: 0 / 4.498 GB, free: 170.3 MB / 1.151 GB Notification: Performance of Templates: time 0.08133/7.976, allocations: 56.01 MB / 4.553 GB, free: 169 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile (rm -f Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & ./Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.csv","../files/Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches