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.117/2.117, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.0009997/0.0009995, allocations: 188.8 kB / 492.3 MB, free: 0.5977 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.457/1.457, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008703/0.0008704, allocations: 93.72 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.273e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2565, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9889/1.245, allocations: 153.2 MB / 1.362 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.246, allocations: 75.72 kB / 1.362 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0501/1.296, allocations: 13.81 MB / 1.376 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.296, allocations: 0 / 1.376 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.897e-05/1.296, allocations: 23.25 kB / 1.376 GB, free: 33.59 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.00245/1.299, allocations: 1.084 MB / 1.377 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.299, allocations: 11.53 kB / 1.377 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/1.299, allocations: 120.3 kB / 1.377 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.3, allocations: 0.5871 MB / 1.377 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/1.3, allocations: 88.27 kB / 1.377 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/1.3, allocations: 97.25 kB / 1.378 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/1.303, allocations: 0.9322 MB / 1.378 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/1.303, allocations: 3.984 kB / 1.379 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.303, allocations: 41.62 kB / 1.379 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/1.303, allocations: 27.06 kB / 1.379 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/1.305, allocations: 0.6786 MB / 1.379 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/1.31, allocations: 2.674 MB / 1.382 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.311, allocations: 0.7602 MB / 1.383 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/1.311, allocations: 302.8 kB / 1.383 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/1.311, allocations: 8.469 kB / 1.383 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005198/1.312, allocations: 396.3 kB / 1.383 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.955e-06/1.312, allocations: 4.094 kB / 1.383 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000858/1.313, allocations: 0.5716 MB / 1.384 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.313, allocations: 141 kB / 1.384 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/1.314, allocations: 0.6104 MB / 1.385 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/1.314, allocations: 40.86 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/1.314, allocations: 415.7 kB / 1.385 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/1.314, allocations: 224 kB / 1.385 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/1.314, allocations: 14.91 kB / 1.385 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.314, allocations: 339.1 kB / 1.386 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/1.314, allocations: 203.5 kB / 1.386 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/1.315, allocations: 305.6 kB / 1.386 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/1.315, allocations: 202.8 kB / 1.386 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.315, allocations: 4 kB / 1.386 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008139/1.316, allocations: 0.6033 MB / 1.387 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/1.316, allocations: 188.3 kB / 1.387 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.316, allocations: 4 kB / 1.387 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.316, allocations: 3.844 kB / 1.387 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/1.317, allocations: 154.6 kB / 1.387 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/1.317, allocations: 3.75 kB / 1.387 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/1.317, allocations: 130.7 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/1.317, allocations: 29.53 kB / 1.387 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/1.317, allocations: 7.781 kB / 1.387 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007616/1.318, allocations: 0.5063 MB / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.318, allocations: 0 / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/1.318, allocations: 7.828 kB / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/1.319, allocations: 137.7 kB / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.319, allocations: 7.906 kB / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/1.319, allocations: 128.2 kB / 1.388 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/1.319, allocations: 27.05 kB / 1.388 GB, free: 28.7 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.0001679/1.319, allocations: 148.3 kB / 1.388 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/1.319, allocations: 81.53 kB / 1.388 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/1.32, allocations: 0.6452 MB / 1.389 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.32, allocations: 11.48 kB / 1.389 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.32, allocations: 0 / 1.389 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.32, allocations: 3.984 kB / 1.389 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/1.322, allocations: 1.645 MB / 1.391 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.322, allocations: 0 / 1.391 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/1.323, allocations: 153.4 kB / 1.391 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.323, allocations: 3.875 kB / 1.391 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/1.323, allocations: 17.53 kB / 1.391 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.323, allocations: 3.656 kB / 1.391 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.323, allocations: 7.922 kB / 1.391 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.324, allocations: 1.064 MB / 1.392 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/1.324, allocations: 176.2 kB / 1.392 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/1.324, allocations: 21.19 kB / 1.392 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/1.325, allocations: 84.39 kB / 1.392 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.325, allocations: 88.03 kB / 1.392 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/1.325, allocations: 23.55 kB / 1.392 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004823/1.326, allocations: 472.6 kB / 1.393 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.326, allocations: 0 / 1.393 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000666/1.326, allocations: 303 kB / 1.393 GB, free: 26.99 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.0001847/1.327, allocations: 151.7 kB / 1.393 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.328, allocations: 0.8794 MB / 1.394 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.328, allocations: 3.938 kB / 1.394 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/1.328, allocations: 339.5 kB / 1.394 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/1.329, allocations: 110.5 kB / 1.394 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/1.33, allocations: 1.078 MB / 1.395 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/1.331, allocations: 1.014 MB / 1.396 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006003/1.332, allocations: 140.7 kB / 1.397 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/1.332, allocations: 53.64 kB / 1.397 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of SimCode: time 1.233e-06/1.332, allocations: 0 / 1.397 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.01409/1.346, allocations: 8.942 MB / 1.405 GB, free: 18.91 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