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.536/2.536, allocations: 387.4 MB / 394.9 MB, free: 13.39 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: 176.9 kB / 487.4 MB, free: 5.059 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.421/1.421, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0008691/0.0008691, allocations: 99.84 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.728e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9185/1.241, allocations: 152.5 MB / 1.355 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.241, allocations: 71.5 kB / 1.355 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0337/1.275, allocations: 13.72 MB / 1.368 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.275, allocations: 0 / 1.368 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001085/1.275, allocations: 19.53 kB / 1.368 GB, free: 33.32 MB / 0.8386 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.002775/1.278, allocations: 1.083 MB / 1.37 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.278, allocations: 7.719 kB / 1.37 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/1.278, allocations: 124 kB / 1.37 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.279, allocations: 0.5798 MB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/1.279, allocations: 42.47 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/1.28, allocations: 57.78 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/1.281, allocations: 0.6358 MB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/1.283, allocations: 0.78 MB / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.283, allocations: 0 / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/1.283, allocations: 0 / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/1.283, allocations: 27.25 kB / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/1.287, allocations: 2.435 MB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.288, allocations: 0.6966 MB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/1.288, allocations: 302.4 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/1.288, allocations: 15.02 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/1.289, allocations: 360.6 kB / 1.375 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 3.566e-06/1.289, allocations: 3.938 kB / 1.375 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0008733/1.29, allocations: 0.5119 MB / 1.376 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.29, allocations: 137.1 kB / 1.376 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/1.29, allocations: 412.4 kB / 1.376 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/1.29, allocations: 28.89 kB / 1.376 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/1.291, allocations: 423.1 kB / 1.377 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.291, allocations: 218 kB / 1.377 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/1.291, allocations: 0 / 1.377 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.291, allocations: 370.5 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/1.291, allocations: 198.5 kB / 1.378 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/1.292, allocations: 283 kB / 1.378 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/1.292, allocations: 183.9 kB / 1.378 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.292, allocations: 3.812 kB / 1.378 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007807/1.293, allocations: 0.5401 MB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.293, allocations: 187.9 kB / 1.379 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.293, allocations: 0 / 1.379 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.293, allocations: 3.812 kB / 1.379 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/1.294, allocations: 154.3 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.294, allocations: 7.781 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/1.294, allocations: 101.3 kB / 1.379 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/1.294, allocations: 22.77 kB / 1.379 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/1.294, allocations: 3.875 kB / 1.379 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006504/1.295, allocations: 451.1 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/1.295, allocations: 4.062 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/1.295, allocations: 3.906 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/1.295, allocations: 148.6 kB / 1.38 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.295, allocations: 7.953 kB / 1.38 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/1.296, allocations: 85.38 kB / 1.38 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.296, allocations: 26.41 kB / 1.38 GB, free: 29.45 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.0001705/1.296, allocations: 132.1 kB / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.296, allocations: 61.94 kB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/1.297, allocations: 0.5605 MB / 1.38 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.297, allocations: 7.781 kB / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.297, allocations: 0 / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.297, allocations: 3.984 kB / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/1.299, allocations: 1.459 MB / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.299, allocations: 0 / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/1.3, allocations: 150.3 kB / 1.382 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/1.3, allocations: 3.844 kB / 1.382 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/1.3, allocations: 7.859 kB / 1.382 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.3, allocations: 3.844 kB / 1.382 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.3, allocations: 3.953 kB / 1.382 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/1.301, allocations: 0.9863 MB / 1.383 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.301, allocations: 147 kB / 1.383 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/1.301, allocations: 7.766 kB / 1.383 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/1.302, allocations: 69.88 kB / 1.383 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.302, allocations: 94.27 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/1.302, allocations: 26.05 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002752/1.302, allocations: 279.5 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.302, allocations: 4 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007753/1.303, allocations: 308.7 kB / 1.384 GB, free: 27.84 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.0002167/1.303, allocations: 137.4 kB / 1.384 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001142/1.304, allocations: 0.8209 MB / 1.385 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.304, allocations: 4.125 kB / 1.385 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004495/1.305, allocations: 323.3 kB / 1.385 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/1.305, allocations: 76.8 kB / 1.385 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.307, allocations: 1.011 MB / 1.386 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/1.308, allocations: 1.015 MB / 1.387 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005572/1.309, allocations: 108.4 kB / 1.387 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.309, allocations: 52.62 kB / 1.387 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.309, allocations: 0 / 1.387 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.01359/1.322, allocations: 7.16 MB / 1.394 GB, free: 22.88 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