Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.712/1.712, 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.0009309/0.0009309, allocations: 186.4 kB / 490.8 MB, free: 1.914 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.073/1.073, allocations: 221.4 MB / 0.7863 GB, free: 13.6 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.0008121/0.0008121, allocations: 99.05 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.771e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.6154, allocations: 153.3 MB / 1.361 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.6156, allocations: 76.81 kB / 1.361 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02954/0.6452, allocations: 13.47 MB / 1.375 GB, free: 16.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.1e-05/0.6452, allocations: 21.12 kB / 1.375 GB, free: 16.34 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.001902/0.6471, allocations: 1.114 MB / 1.376 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.6472, allocations: 8.906 kB / 1.376 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.6474, allocations: 121.9 kB / 1.376 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/0.6482, allocations: 0.5843 MB / 1.376 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.6483, allocations: 43.94 kB / 1.376 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6484, allocations: 59.94 kB / 1.376 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/0.6495, allocations: 0.6356 MB / 1.377 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.6508, allocations: 0.7771 MB / 1.378 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6508, allocations: 3.938 kB / 1.378 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.6509, allocations: 4.953 kB / 1.378 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6509, allocations: 25 kB / 1.378 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.6543, allocations: 2.442 MB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.6553, allocations: 0.6686 MB / 1.381 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.6557, allocations: 292.4 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.6557, allocations: 8.438 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.6562, allocations: 363 kB / 1.382 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 1.543e-06/0.6562, allocations: 0 / 1.382 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000793/0.657, allocations: 0.5016 MB / 1.382 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.657, allocations: 138.2 kB / 1.382 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.6574, allocations: 415.4 kB / 1.383 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.6575, allocations: 31.86 kB / 1.383 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.6576, allocations: 353.3 kB / 1.383 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6578, allocations: 208.8 kB / 1.383 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.6578, allocations: 0 / 1.383 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6579, allocations: 370.5 kB / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.6582, allocations: 202.3 kB / 1.384 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.6586, allocations: 284.2 kB / 1.384 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.6589, allocations: 189.3 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6589, allocations: 0 / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007663/0.6597, allocations: 0.533 MB / 1.385 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/0.6597, allocations: 193.2 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6597, allocations: 1.312 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6598, allocations: 2.594 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.6604, allocations: 154.3 kB / 1.385 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6604, allocations: 4 kB / 1.385 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.6609, allocations: 113.1 kB / 1.385 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.6609, allocations: 30.42 kB / 1.385 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.661, allocations: 4 kB / 1.385 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006764/0.6616, allocations: 448.4 kB / 1.386 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.6616, allocations: 5.156 kB / 1.386 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.6617, allocations: 3.688 kB / 1.386 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.6622, allocations: 145.9 kB / 1.386 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.6622, allocations: 6.594 kB / 1.386 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.6627, allocations: 101.2 kB / 1.386 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.6627, allocations: 17.31 kB / 1.386 GB, free: 27.73 MB / 0.8386 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.000167/0.6629, allocations: 129.3 kB / 1.386 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.663, allocations: 64.17 kB / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008176/0.6638, allocations: 0.5606 MB / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6638, allocations: 7.719 kB / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6638, allocations: 0 / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6639, allocations: 11.83 kB / 1.387 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.6655, allocations: 1.444 MB / 1.388 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6655, allocations: 8 kB / 1.388 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.6661, allocations: 149.5 kB / 1.388 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6661, allocations: 7.906 kB / 1.388 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.6662, allocations: 6.641 kB / 1.388 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6662, allocations: 3.969 kB / 1.388 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6662, allocations: 0 / 1.388 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0012/0.6674, allocations: 0.9991 MB / 1.389 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.6675, allocations: 137.9 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.6676, allocations: 9.922 kB / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.6681, allocations: 76.28 kB / 1.389 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6682, allocations: 101.3 kB / 1.389 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.6683, allocations: 18.81 kB / 1.389 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002769/0.6686, allocations: 283.2 kB / 1.39 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006759/0.6693, allocations: 303.3 kB / 1.39 GB, free: 26.13 MB / 0.8386 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.0001541/0.6694, allocations: 141 kB / 1.39 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.6706, allocations: 0.8362 MB / 1.391 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6706, allocations: 0 / 1.391 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.671, allocations: 319.8 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.6715, allocations: 79.16 kB / 1.391 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.6734, allocations: 1.058 MB / 1.392 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/0.6742, allocations: 1.078 MB / 1.393 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.6742, allocations: 5.312 kB / 1.393 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.01751/0.6917, allocations: 10.85 MB / 1.404 GB, free: 18.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches