Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.506/2.506, allocations: 253.1 MB / 260.6 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001462, allocations: 170.9 kB / 319.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.6 MB / 0.5709 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 90.08 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.259e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9856/1.195, allocations: 140 MB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.195, allocations: 74.7 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09293/1.288, allocations: 17.32 MB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.234e-06/1.288, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001031/1.288, allocations: 24 kB / 1.042 GB, free: 15.12 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003661/1.292, allocations: 1.187 MB / 1.044 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.292, allocations: 20.02 kB / 1.044 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/1.292, allocations: 138.4 kB / 1.044 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/1.294, allocations: 0.5974 MB / 1.044 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/1.294, allocations: 47.62 kB / 1.044 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/1.294, allocations: 75.98 kB / 1.044 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002328/1.297, allocations: 0.7143 MB / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/1.299, allocations: 0.9599 MB / 1.046 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/1.299, allocations: 0 / 1.046 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/1.3, allocations: 7.984 kB / 1.046 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/1.3, allocations: 24 kB / 1.046 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/1.312, allocations: 3.521 MB / 1.05 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/1.316, allocations: 0.7243 MB / 1.05 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009025/1.317, allocations: 307.5 kB / 1.051 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/1.317, allocations: 8.859 kB / 1.051 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/1.318, allocations: 492.8 kB / 1.051 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=83): time 7.013e-06/1.318, allocations: 7.984 kB / 1.051 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83): time 0.002053/1.32, allocations: 0.6747 MB / 1.052 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.321, allocations: 196.7 kB / 1.052 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/1.322, allocations: 478.9 kB / 1.052 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/1.322, allocations: 48.28 kB / 1.052 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/1.322, allocations: 497.2 kB / 1.053 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/1.323, allocations: 228.4 kB / 1.053 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/1.323, allocations: 0 / 1.053 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.323, allocations: 386.1 kB / 1.053 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/1.324, allocations: 250.2 kB / 1.054 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009715/1.325, allocations: 497.8 kB / 1.054 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/1.326, allocations: 270.8 kB / 1.054 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.326, allocations: 4 kB / 1.054 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002082/1.328, allocations: 0.7461 MB / 1.055 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008623/1.329, allocations: 1.918 MB / 1.057 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/1.329, allocations: 8 kB / 1.057 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.329, allocations: 11.94 kB / 1.057 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.33, allocations: 162.4 kB / 1.057 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/1.33, allocations: 19.89 kB / 1.057 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.331, allocations: 123.4 kB / 1.057 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/1.331, allocations: 37.94 kB / 1.057 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.331, allocations: 0 / 1.057 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001856/1.333, allocations: 0.6371 MB / 1.058 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.333, allocations: 4 kB / 1.058 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.333, allocations: 16.06 kB / 1.058 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.335, allocations: 150.8 kB / 1.058 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/1.335, allocations: 11.94 kB / 1.058 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.336, allocations: 111.5 kB / 1.058 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.336, allocations: 40.3 kB / 1.058 GB, free: 1.758 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.0004063/1.336, allocations: 170.5 kB / 1.059 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/1.337, allocations: 83.02 kB / 1.059 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/1.339, allocations: 0.7313 MB / 1.059 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/1.339, allocations: 12 kB / 1.059 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.339, allocations: 4 kB / 1.059 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.339, allocations: 7.922 kB / 1.059 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/1.344, allocations: 1.885 MB / 1.061 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.344, allocations: 0 / 1.061 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.345, allocations: 115.7 kB / 1.061 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/1.345, allocations: 4 kB / 1.061 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.345, allocations: 15.67 kB / 1.061 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.345, allocations: 8.125 kB / 1.061 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.345, allocations: 3.984 kB / 1.061 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/1.348, allocations: 1.27 MB / 1.063 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/1.348, allocations: 159 kB / 1.063 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.349, allocations: 11.86 kB / 1.063 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.35, allocations: 75.98 kB / 1.063 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/1.35, allocations: 99.09 kB / 1.063 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.35, allocations: 47.38 kB / 1.063 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006356/1.351, allocations: 330.9 kB / 1.063 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.351, allocations: 0 / 1.063 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001789/1.353, allocations: 350.5 kB / 1.064 GB, free: 13.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004213/1.353, allocations: 157.7 kB / 1.064 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002955/1.356, allocations: 1.088 MB / 1.065 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.356, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.357, allocations: 389.1 kB / 1.065 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.358, allocations: 103.6 kB / 1.065 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/1.362, allocations: 1.214 MB / 1.066 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/1.363, allocations: 1.044 MB / 1.067 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001244/1.364, allocations: 141.2 kB / 1.068 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.365, allocations: 66.59 kB / 1.068 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.365, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of Templates: time 0.03/1.395, allocations: 9.003 MB / 1.076 GB, free: 1.125 MB / 0.6823 GB