Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VColDucDis_flow_Set|dam.VHotDucDis_flow_Set|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VColDucDis_flow_Set|dam.VHotDucDis_flow_Set|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.756/1.756, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009611/0.0009611, allocations: 180.4 kB / 487 MB, free: 5.402 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008721/0.000872, allocations: 105 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.572e-06, allocations: 0 / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.7071, allocations: 153.2 MB / 1.355 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.7074, allocations: 74.94 kB / 1.355 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04546/0.7528, allocations: 21.03 MB / 1.375 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.26e-05/0.7529, allocations: 28 kB / 1.375 GB, free: 3.484 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.002119/0.755, allocations: 1.579 MB / 1.377 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.7551, allocations: 8.031 kB / 1.377 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.7553, allocations: 177.9 kB / 1.377 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.7567, allocations: 0.9462 MB / 1.378 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.7567, allocations: 48 kB / 1.378 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.7569, allocations: 92 kB / 1.378 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/0.7581, allocations: 0.8097 MB / 1.379 GB, free: 404 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.7596, allocations: 1.05 MB / 1.38 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.7597, allocations: 7.938 kB / 1.38 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.7597, allocations: 7.375 kB / 1.38 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.7598, allocations: 32 kB / 1.38 GB, free: 15.58 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.765, allocations: 3.434 MB / 1.383 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7666, allocations: 0.9078 MB / 1.384 GB, free: 12.35 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.7671, allocations: 336.4 kB / 1.385 GB, free: 12.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.7672, allocations: 15.44 kB / 1.385 GB, free: 12.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005648/0.7677, allocations: 447.9 kB / 1.385 GB, free: 11.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 1.904e-06/0.7678, allocations: 0 / 1.385 GB, free: 11.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=94): time 0.0009642/0.7687, allocations: 0.6321 MB / 1.386 GB, free: 11.35 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.7688, allocations: 225.3 kB / 1.386 GB, free: 11.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.7694, allocations: 0.5552 MB / 1.386 GB, free: 10.68 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/0.7695, allocations: 48.06 kB / 1.387 GB, free: 10.63 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.7698, allocations: 490.8 kB / 1.387 GB, free: 10.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.77, allocations: 276 kB / 1.387 GB, free: 9.977 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.7701, allocations: 4 kB / 1.387 GB, free: 9.973 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7702, allocations: 342.7 kB / 1.388 GB, free: 9.648 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.7707, allocations: 302.5 kB / 1.388 GB, free: 9.488 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.7713, allocations: 486.5 kB / 1.388 GB, free: 9.102 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.7719, allocations: 332.5 kB / 1.389 GB, free: 8.891 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7719, allocations: 0 / 1.389 GB, free: 8.891 MB / 0.823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001415/0.7734, allocations: 0.8638 MB / 1.389 GB, free: 8.258 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.7735, allocations: 455.5 kB / 1.39 GB, free: 7.785 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7735, allocations: 4 kB / 1.39 GB, free: 7.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7735, allocations: 4 kB / 1.39 GB, free: 7.777 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.7743, allocations: 188.8 kB / 1.39 GB, free: 7.602 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.7743, allocations: 7.906 kB / 1.39 GB, free: 7.594 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.7752, allocations: 207.2 kB / 1.39 GB, free: 7.391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.7753, allocations: 37.55 kB / 1.39 GB, free: 7.363 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.7753, allocations: 4 kB / 1.39 GB, free: 7.359 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/0.7766, allocations: 0.731 MB / 1.391 GB, free: 6.855 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.7766, allocations: 0 / 1.391 GB, free: 6.855 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.7766, allocations: 8 kB / 1.391 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.7772, allocations: 162.4 kB / 1.391 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.7772, allocations: 7.938 kB / 1.391 GB, free: 6.688 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/0.7781, allocations: 183.4 kB / 1.391 GB, free: 6.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.7782, allocations: 39.02 kB / 1.391 GB, free: 6.477 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * 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.0001757/0.7783, allocations: 149.6 kB / 1.392 GB, free: 6.328 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7785, allocations: 90.88 kB / 1.392 GB, free: 6.238 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.7795, allocations: 0.6969 MB / 1.392 GB, free: 5.754 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.7795, allocations: 8 kB / 1.392 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.7796, allocations: 3.984 kB / 1.392 GB, free: 5.742 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.7796, allocations: 7.891 kB / 1.392 GB, free: 5.734 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.7819, allocations: 1.848 MB / 1.394 GB, free: 4.434 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7819, allocations: 0 / 1.394 GB, free: 4.434 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.7825, allocations: 166.4 kB / 1.394 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.7825, allocations: 4 kB / 1.394 GB, free: 4.273 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.7826, allocations: 7.984 kB / 1.394 GB, free: 4.266 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.7826, allocations: 15.92 kB / 1.394 GB, free: 4.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7826, allocations: 4 kB / 1.394 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001475/0.7841, allocations: 1.222 MB / 1.396 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.7842, allocations: 177.9 kB / 1.396 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.7844, allocations: 11.06 kB / 1.396 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.785, allocations: 87.97 kB / 1.396 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.7851, allocations: 111.8 kB / 1.396 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.7852, allocations: 29.86 kB / 1.396 GB, free: 2.961 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004143/0.7856, allocations: 413.5 kB / 1.396 GB, free: 2.676 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009018/0.7865, allocations: 461.6 kB / 1.397 GB, free: 2.223 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002117/0.7868, allocations: 155.6 kB / 1.397 GB, free: 2.066 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.7885, allocations: 1.323 MB / 1.398 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7885, allocations: 0 / 1.398 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.789, allocations: 372 kB / 1.399 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.7897, allocations: 160.7 kB / 1.399 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.7924, allocations: 1.478 MB / 1.4 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009518/0.7934, allocations: 1.233 MB / 1.401 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.7934, allocations: 0 / 1.401 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.02516/0.8185, allocations: 16.37 MB / 1.417 GB, free: 14.04 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches