Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.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.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VSet_flow|dam.TSup|dam.TZon|dam.uCoo|dam.uZonSta|dam.yDam|dam.oveFloSet|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VSet_flow|dam1.VDis_flow|dam1.TSup|dam1.TZon|dam1.uCoo|dam1.uZonSta|dam1.yDam|dam1.oveDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VSet_flow|dam.TSup|dam.TZon|dam.uCoo|dam.uZonSta|dam.yDam|dam.oveFloSet|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VSet_flow|dam1.VDis_flow|dam1.TSup|dam1.TZon|dam1.uCoo|dam1.uZonSta|dam1.yDam|dam1.oveDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers") [: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.75/1.75, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009098/0.0009098, allocations: 177.3 kB / 487 MB, free: 5.414 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.138/1.138, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.0008518/0.0008519, allocations: 98.36 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.472e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.194, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.7034, allocations: 152.5 MB / 1.354 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.7036, allocations: 75.53 kB / 1.354 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03066/0.7343, allocations: 13.47 MB / 1.367 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.918e-05/0.7344, allocations: 23.83 kB / 1.367 GB, free: 9.977 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.001547/0.7359, allocations: 1.109 MB / 1.368 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.736, allocations: 11.97 kB / 1.369 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.7361, allocations: 122.5 kB / 1.369 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/0.7369, allocations: 0.5918 MB / 1.369 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.7369, allocations: 36 kB / 1.369 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.737, allocations: 67.59 kB / 1.369 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009778/0.738, allocations: 0.6248 MB / 1.37 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.7391, allocations: 0.7817 MB / 1.371 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.7391, allocations: 0 / 1.371 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.7392, allocations: 0 / 1.371 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.7392, allocations: 24 kB / 1.371 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.7423, allocations: 2.45 MB / 1.373 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.7432, allocations: 0.6733 MB / 1.374 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.7436, allocations: 290.5 kB / 1.374 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.7436, allocations: 12.64 kB / 1.374 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.7441, allocations: 355.9 kB / 1.374 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 1.864e-06/0.7441, allocations: 0 / 1.374 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.0007242/0.7448, allocations: 0.5101 MB / 1.375 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.7448, allocations: 141.1 kB / 1.375 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.7452, allocations: 413.4 kB / 1.375 GB, free: 3.551 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.7452, allocations: 29.7 kB / 1.375 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.7453, allocations: 349.3 kB / 1.376 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.7454, allocations: 216.3 kB / 1.376 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.7455, allocations: 0 / 1.376 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.7455, allocations: 378.9 kB / 1.376 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.7458, allocations: 191.6 kB / 1.377 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.7461, allocations: 285.9 kB / 1.377 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.7464, allocations: 185.6 kB / 1.377 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7464, allocations: 0 / 1.377 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006935/0.7471, allocations: 0.5314 MB / 1.377 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.7471, allocations: 191.9 kB / 1.378 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7472, allocations: 0 / 1.378 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7472, allocations: 4 kB / 1.378 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.7478, allocations: 159 kB / 1.378 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.7478, allocations: 4 kB / 1.378 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.7483, allocations: 107.5 kB / 1.378 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.7483, allocations: 23.53 kB / 1.378 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-06/0.7484, allocations: 4 kB / 1.378 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006166/0.749, allocations: 454.8 kB / 1.378 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-06/0.749, allocations: 0 / 1.378 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.749, allocations: 4 kB / 1.378 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.7496, allocations: 147.4 kB / 1.379 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.7496, allocations: 4 kB / 1.379 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.75, allocations: 103.5 kB / 1.379 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.75, allocations: 18.75 kB / 1.379 GB, free: 0.8398 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,$PRE.dam.gre.greHys.y,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,$PRE.dam1.gre.greHys.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001124/0.7502, allocations: 129 kB / 1.379 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.7502, allocations: 59.31 kB / 1.379 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/0.751, allocations: 0.5731 MB / 1.379 GB, free: 252 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.751, allocations: 15.84 kB / 1.379 GB, free: 236 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.751, allocations: 0 / 1.379 GB, free: 236 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7511, allocations: 3.984 kB / 1.379 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.7529, allocations: 1.444 MB / 1.381 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7529, allocations: 4.062 kB / 1.381 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.7535, allocations: 155.4 kB / 1.381 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.7536, allocations: 4 kB / 1.381 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.7536, allocations: 7.984 kB / 1.381 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7536, allocations: 4 kB / 1.381 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7536, allocations: 3.906 kB / 1.381 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001325/0.755, allocations: 0.9969 MB / 1.382 GB, free: 14.31 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.7551, allocations: 143.6 kB / 1.382 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/0.7552, allocations: 3.188 kB / 1.382 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.7557, allocations: 79.98 kB / 1.382 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7559, allocations: 94.62 kB / 1.382 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.7559, allocations: 23.86 kB / 1.382 GB, free: 13.99 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002776/0.7562, allocations: 282 kB / 1.383 GB, free: 13.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006638/0.7569, allocations: 309.6 kB / 1.383 GB, free: 13.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (dam1.conPID.I.y) * Number of discrete variables: 22 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 2 (dam.gre.greHys.y,dam1.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 79 * 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.0001972/0.7571, allocations: 131.2 kB / 1.383 GB, free: 13.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.7582, allocations: 0.8312 MB / 1.384 GB, free: 12.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7583, allocations: 0 / 1.384 GB, free: 12.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.7587, allocations: 331.1 kB / 1.384 GB, free: 12.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.7592, allocations: 76.36 kB / 1.384 GB, free: 12.53 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.7614, allocations: 1.054 MB / 1.385 GB, free: 11.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/0.7623, allocations: 1.079 MB / 1.386 GB, free: 10.48 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/0.7623, allocations: 4 kB / 1.386 GB, free: 10.48 MB / 0.823 GB Notification: Performance of Templates: time 0.01853/0.7809, allocations: 10.85 MB / 1.397 GB, free: 15.75 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches