Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007322/0.000732, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004877/0.004877, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.022/3.022, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003864, allocations: 13.53 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4049, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers): time 0.003307/0.4082, allocations: 2.202 MB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.4116, allocations: 1.817 MB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.412, allocations: 11.94 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.4122, allocations: 71.3 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.4124, allocations: 59.52 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.4133, allocations: 383 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007671/0.4141, allocations: 0.8025 MB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.4147, allocations: 451.8 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.4151, allocations: 230.7 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.4154, allocations: 270.3 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.4154, allocations: 24 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.4156, allocations: 43.92 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.4157, allocations: 99.47 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.4159, allocations: 319.6 kB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009361/0.4169, allocations: 1.09 MB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4169, allocations: 4 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.347e-06/0.4169, allocations: 0 / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.4169, allocations: 0 / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001964/0.4189, allocations: 0.9586 MB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.419, allocations: 8.031 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.4191, allocations: 84 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.4206, allocations: 0.6323 MB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.4207, allocations: 58.38 kB / 1.084 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4208, allocations: 68.38 kB / 1.084 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4222, allocations: 0.7162 MB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4222, allocations: 3.938 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.4223, allocations: 28 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4223, allocations: 20 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.4237, allocations: 0.57 MB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.4266, allocations: 1.948 MB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.4279, allocations: 0.5911 MB / 1.087 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.4285, allocations: 270.7 kB / 1.088 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.4285, allocations: 4.438 kB / 1.088 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007538/0.4293, allocations: 313.3 kB / 1.088 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.4293, allocations: 0 / 1.088 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of matching and sorting (n=52): time 0.001831/0.4311, allocations: 0.7092 MB / 1.089 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.4312, allocations: 81.55 kB / 1.089 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.4317, allocations: 437.7 kB / 1.089 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.4318, allocations: 37.7 kB / 1.089 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.432, allocations: 343.7 kB / 1.089 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4322, allocations: 157.7 kB / 1.09 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4323, allocations: 85.66 kB / 1.09 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4325, allocations: 354.8 kB / 1.09 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.4331, allocations: 229.2 kB / 1.09 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/0.4338, allocations: 398.5 kB / 1.091 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4351, allocations: 0.6055 MB / 1.091 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4351, allocations: 0 / 1.091 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001563/0.4367, allocations: 0.7197 MB / 1.092 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.4369, allocations: 257.6 kB / 1.092 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4369, allocations: 4 kB / 1.092 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.4369, allocations: 8 kB / 1.092 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.4375, allocations: 139.8 kB / 1.092 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.4375, allocations: 15.94 kB / 1.092 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.438, allocations: 119.5 kB / 1.092 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.4381, allocations: 31.98 kB / 1.093 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.4381, allocations: 4 kB / 1.093 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/0.4395, allocations: 0.6289 MB / 1.093 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4395, allocations: 8.031 kB / 1.093 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.4395, allocations: 8 kB / 1.093 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.44, allocations: 131.7 kB / 1.093 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.44, allocations: 8 kB / 1.093 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.4405, allocations: 111.5 kB / 1.093 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.4406, allocations: 31.92 kB / 1.093 GB, free: 3.242 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.dam1.gre.greHys.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,dam1.conInt5.y,dam1.conInt4.y,dam1.conInt3.y,dam1.conInt2.y,dam1.conInt1.y,dam1.conInt.y,dam1.gre.greHys.y,reaToInt3.y,reaToInt1.y,reaToInt2.y,dam1.or1.y,dam1.or2.y,dam1.intEqu4.y,dam1.intEqu3.y,dam1.or3.y,dam1.forMinFlo.y,dam1.forCooMax.y,dam1.forZerFlo.y,dam1.cooSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.441, allocations: 289.4 kB / 1.094 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/0.4411, allocations: 55.28 kB / 1.094 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.4425, allocations: 0.564 MB / 1.094 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4425, allocations: 4 kB / 1.094 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4425, allocations: 0 / 1.094 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.4425, allocations: 7.984 kB / 1.094 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.4445, allocations: 1.236 MB / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4446, allocations: 0 / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.445, allocations: 99.86 kB / 1.096 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.445, allocations: 4 kB / 1.096 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.4451, allocations: 16 kB / 1.096 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4451, allocations: 0 / 1.096 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4451, allocations: 0 / 1.096 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.447, allocations: 0.8923 MB / 1.096 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.4471, allocations: 128.4 kB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.4471, allocations: 12 kB / 1.097 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.4475, allocations: 47.97 kB / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.4476, allocations: 60.36 kB / 1.097 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.4477, allocations: 19.98 kB / 1.097 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003207/0.448, allocations: 283.1 kB / 1.097 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.448, allocations: 0 / 1.097 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000836/0.4488, allocations: 250.8 kB / 1.097 GB, free: 15.19 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dam1.conPID.I.y) * Number of discrete variables: 16 ($whenCondition3,$whenCondition1,$whenCondition2,dam1.cooSta.y,dam1.forZerFlo.y,dam1.forCooMax.y,dam1.forMinFlo.y,dam1.or3.y,dam1.intEqu3.y,dam1.intEqu4.y,dam1.or2.y,dam1.or1.y,reaToInt2.y,reaToInt1.y,reaToInt3.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.4491, allocations: 131.2 kB / 1.097 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.4513, allocations: 0.9913 MB / 1.098 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4513, allocations: 0 / 1.098 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.4519, allocations: 279.5 kB / 1.099 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.4526, allocations: 95.25 kB / 1.099 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.4547, allocations: 1.327 MB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4552, allocations: 0.8916 MB / 1.101 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004757/0.4557, allocations: 104.7 kB / 1.101 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4559, allocations: 55.41 kB / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of SimCode: time 1.292e-06/0.4559, allocations: 0 / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Templates: time 0.01338/0.4693, allocations: 6.222 MB / 1.107 GB, free: 5.102 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe 2>&1)