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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.468/2.468, allocations: 390.5 MB / 398 MB, free: 10.91 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.001343/0.001343, allocations: 168.9 kB / 491.2 MB, free: 1.562 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.7/1.7, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009266/0.0009268, allocations: 89.59 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.522e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2831, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.366, allocations: 153.3 MB / 1.362 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.367, allocations: 75.34 kB / 1.362 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03368/1.4, allocations: 13.72 MB / 1.376 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.775e-06/1.4, allocations: 0 / 1.376 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001009/1.401, allocations: 27 kB / 1.376 GB, free: 32.57 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.002636/1.403, allocations: 1.081 MB / 1.377 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.403, allocations: 7.812 kB / 1.377 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/1.404, allocations: 120.6 kB / 1.377 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.405, allocations: 0.5874 MB / 1.377 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/1.405, allocations: 38.53 kB / 1.377 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.405, allocations: 65.47 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/1.406, allocations: 0.625 MB / 1.378 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.408, allocations: 0.7852 MB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.408, allocations: 0 / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/1.408, allocations: 3.984 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/1.408, allocations: 23.06 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/1.411, allocations: 2.439 MB / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/1.412, allocations: 0.7004 MB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/1.413, allocations: 291.9 kB / 1.382 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/1.413, allocations: 11.62 kB / 1.382 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/1.413, allocations: 360.3 kB / 1.383 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.605e-06/1.413, allocations: 0 / 1.383 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0007896/1.414, allocations: 0.5154 MB / 1.383 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/1.414, allocations: 137 kB / 1.383 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/1.415, allocations: 412.2 kB / 1.384 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/1.415, allocations: 28.95 kB / 1.384 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/1.415, allocations: 434.3 kB / 1.384 GB, free: 29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.415, allocations: 210.7 kB / 1.384 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/1.415, allocations: 0 / 1.384 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.415, allocations: 372.5 kB / 1.385 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/1.416, allocations: 196.1 kB / 1.385 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/1.416, allocations: 290.3 kB / 1.385 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/1.416, allocations: 187.3 kB / 1.385 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.416, allocations: 0 / 1.385 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007474/1.417, allocations: 0.5337 MB / 1.386 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/1.417, allocations: 192 kB / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.417, allocations: 64 / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.417, allocations: 7.906 kB / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/1.418, allocations: 150.2 kB / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.418, allocations: 7.953 kB / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/1.418, allocations: 96.88 kB / 1.386 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/1.418, allocations: 25.86 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/1.418, allocations: 3.812 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006543/1.419, allocations: 450.3 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.419, allocations: 0 / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/1.419, allocations: 3.844 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/1.419, allocations: 155.4 kB / 1.387 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/1.419, allocations: 3.844 kB / 1.387 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/1.42, allocations: 89.02 kB / 1.387 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/1.42, allocations: 18.92 kB / 1.387 GB, free: 27.87 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.0001627/1.42, allocations: 131.5 kB / 1.387 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/1.42, allocations: 61.22 kB / 1.387 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/1.421, allocations: 0.5638 MB / 1.388 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.421, allocations: 7.719 kB / 1.388 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.421, allocations: 0 / 1.388 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/1.421, allocations: 7.938 kB / 1.388 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/1.423, allocations: 1.445 MB / 1.389 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.423, allocations: 3.906 kB / 1.389 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/1.424, allocations: 150.2 kB / 1.389 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.424, allocations: 3.969 kB / 1.389 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/1.424, allocations: 3.984 kB / 1.389 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.424, allocations: 7.828 kB / 1.389 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.424, allocations: 0 / 1.389 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/1.425, allocations: 0.995 MB / 1.39 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/1.425, allocations: 149.4 kB / 1.39 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/1.425, allocations: 3.844 kB / 1.39 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/1.426, allocations: 66.31 kB / 1.39 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.426, allocations: 96.75 kB / 1.39 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/1.426, allocations: 26.14 kB / 1.391 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002652/1.426, allocations: 278.4 kB / 1.391 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.426, allocations: 4 kB / 1.391 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007669/1.427, allocations: 309.8 kB / 1.391 GB, free: 26.26 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.0002055/1.427, allocations: 134.3 kB / 1.391 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.428, allocations: 0.8306 MB / 1.392 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.428, allocations: 128 / 1.392 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/1.429, allocations: 324.5 kB / 1.392 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/1.429, allocations: 68.89 kB / 1.392 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/1.431, allocations: 1.026 MB / 1.393 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/1.431, allocations: 1.013 MB / 1.394 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005518/1.432, allocations: 114.9 kB / 1.394 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/1.432, allocations: 53.03 kB / 1.395 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.432, allocations: 0 / 1.395 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.01363/1.446, allocations: 7.148 MB / 1.402 GB, free: 21.29 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