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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001524/0.001524, allocations: 167.4 kB / 498.1 MB, free: 5.734 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.545/1.545, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001091/0.001091, allocations: 102.4 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 10.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.4899, allocations: 153.3 MB / 1.373 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4902, allocations: 75.94 kB / 1.373 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03434/0.5245, allocations: 13.83 MB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5246, allocations: 0 / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.391e-05/0.5246, allocations: 24 kB / 1.386 GB, free: 10.76 MB / 0.8855 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.002083/0.5267, allocations: 1.169 MB / 1.387 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5268, allocations: 8.031 kB / 1.387 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.527, allocations: 126.5 kB / 1.387 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.5279, allocations: 0.5863 MB / 1.388 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.528, allocations: 90.06 kB / 1.388 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5282, allocations: 100 kB / 1.388 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.53, allocations: 1.037 MB / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.5301, allocations: 0 / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.5302, allocations: 43.98 kB / 1.389 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.5302, allocations: 24 kB / 1.389 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.532, allocations: 0.8748 MB / 1.39 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/0.5364, allocations: 2.675 MB / 1.393 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5382, allocations: 0.8772 MB / 1.394 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.5382, allocations: 12.61 kB / 1.394 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009441/0.5392, allocations: 488.1 kB / 1.394 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=77): time 2.685e-06/0.5392, allocations: 0 / 1.394 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77): time 0.002304/0.5415, allocations: 1.049 MB / 1.395 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.5416, allocations: 141.2 kB / 1.395 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.5424, allocations: 0.6207 MB / 1.396 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.5424, allocations: 41.7 kB / 1.396 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.5428, allocations: 416.4 kB / 1.396 GB, free: 104 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.543, allocations: 232.7 kB / 1.397 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.543, allocations: 12 kB / 1.397 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5431, allocations: 330 kB / 1.397 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.5438, allocations: 309.1 kB / 1.397 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.5445, allocations: 389.8 kB / 1.398 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.5452, allocations: 295.1 kB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5452, allocations: 0 / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001558/0.5467, allocations: 0.7852 MB / 1.399 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/0.5468, allocations: 180.6 kB / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5469, allocations: 0 / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5469, allocations: 4 kB / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.5475, allocations: 159.8 kB / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5476, allocations: 0 / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.5481, allocations: 139.1 kB / 1.399 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.5482, allocations: 20 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.5482, allocations: 4 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/0.5496, allocations: 0.6596 MB / 1.4 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.5496, allocations: 0 / 1.4 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.5496, allocations: 11.94 kB / 1.4 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.5502, allocations: 143.8 kB / 1.4 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5502, allocations: 4 kB / 1.4 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.5507, allocations: 127.2 kB / 1.4 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.5508, allocations: 27.98 kB / 1.4 GB, free: 12.26 MB / 0.9011 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 () * Number of clocked 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.0004755/0.5513, allocations: 313 kB / 1.4 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5514, allocations: 78.97 kB / 1.4 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5531, allocations: 0.8265 MB / 1.401 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5531, allocations: 8 kB / 1.401 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.5531, allocations: 0 / 1.401 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5531, allocations: 3.984 kB / 1.401 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.556, allocations: 1.82 MB / 1.403 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.556, allocations: 0 / 1.403 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.5566, allocations: 151.8 kB / 1.403 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.5567, allocations: 4 kB / 1.403 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.5567, allocations: 12 kB / 1.403 GB, free: 8.973 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5567, allocations: 4 kB / 1.403 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5567, allocations: 3.984 kB / 1.403 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.5592, allocations: 1.339 MB / 1.404 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.5594, allocations: 175.9 kB / 1.405 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/0.5595, allocations: 16 kB / 1.405 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.5601, allocations: 87.98 kB / 1.405 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.5603, allocations: 84.59 kB / 1.405 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.5604, allocations: 35.92 kB / 1.405 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005817/0.561, allocations: 475 kB / 1.405 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.561, allocations: 0 / 1.405 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007874/0.5618, allocations: 311 kB / 1.406 GB, free: 6.41 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0002212/0.562, allocations: 147.7 kB / 1.406 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.5644, allocations: 1.114 MB / 1.407 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5644, allocations: 4 kB / 1.407 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008813/0.5653, allocations: 423.7 kB / 1.407 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.5659, allocations: 112.4 kB / 1.407 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.5687, allocations: 1.734 MB / 1.409 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.5693, allocations: 1.01 MB / 1.41 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005469/0.5698, allocations: 105.4 kB / 1.41 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.5701, allocations: 71.34 kB / 1.41 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of SimCode: time 1.102e-06/0.5701, allocations: 0 / 1.41 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of Templates: time 0.01569/0.5858, allocations: 7.756 MB / 1.418 GB, free: 9.965 MB / 0.9167 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