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.378/2.378, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 178 kB / 325.6 MB, free: 2.844 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.282/2.282, allocations: 205.4 MB / 0.5766 GB, free: 21.04 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.001511/0.001511, allocations: 94.38 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006551, allocations: 13.44 kB / 0.7952 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2132, allocations: 106.3 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2557/0.4689, allocations: 139.9 MB / 1.036 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.4693, allocations: 83.94 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0719/0.5412, allocations: 17.5 MB / 1.053 GB, free: 4.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.479e-06/0.5413, allocations: 4 kB / 1.053 GB, free: 4.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001853/0.5415, allocations: 24 kB / 1.053 GB, free: 4.195 MB / 0.698 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.00731/0.5489, allocations: 1.27 MB / 1.054 GB, free: 2.855 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.553e-05/0.549, allocations: 12.03 kB / 1.054 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/0.5498, allocations: 138.5 kB / 1.054 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.5526, allocations: 0.6075 MB / 1.055 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.5529, allocations: 98.19 kB / 1.055 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005402/0.5535, allocations: 120 kB / 1.055 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/0.5576, allocations: 1.194 MB / 1.056 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.5577, allocations: 8 kB / 1.056 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.5579, allocations: 51.94 kB / 1.056 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.5579, allocations: 27.94 kB / 1.056 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.63/1.188, allocations: 0.9098 MB / 1.057 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/1.196, allocations: 3.775 MB / 1.061 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/1.199, allocations: 0.8762 MB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.961e-05/1.199, allocations: 10.72 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.201, allocations: 0.5583 MB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/1.201, allocations: 1.688 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.004145/1.205, allocations: 1.178 MB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/1.205, allocations: 196.7 kB / 1.063 GB, free: 141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.207, allocations: 0.6985 MB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.207, allocations: 62.08 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.208, allocations: 475.2 kB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/1.208, allocations: 232.9 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/1.208, allocations: 20.72 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.208, allocations: 339 kB / 1.065 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.209, allocations: 335.6 kB / 1.066 GB, free: 140.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/1.211, allocations: 0.5715 MB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.212, allocations: 346.7 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.212, allocations: 1.875 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003387/1.216, allocations: 0.9814 MB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004445/1.216, allocations: 1.918 MB / 1.069 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/1.216, allocations: 5.484 kB / 1.069 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.084e-05/1.216, allocations: 14.69 kB / 1.069 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.218, allocations: 159.5 kB / 1.069 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/1.218, allocations: 16.47 kB / 1.069 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.219, allocations: 175.1 kB / 1.07 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.219, allocations: 36.36 kB / 1.07 GB, free: 137.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.219, allocations: 6.5 kB / 1.07 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002953/1.222, allocations: 0.8399 MB / 1.07 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.222, allocations: 9.391 kB / 1.07 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/1.222, allocations: 10.31 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.224, allocations: 155.3 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/1.224, allocations: 11.42 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/1.225, allocations: 165.4 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.225, allocations: 39.06 kB / 1.071 GB, free: 137.7 MB / 0.698 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 () * Number of clocked 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.0009187/1.226, allocations: 391.4 kB / 1.071 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/1.226, allocations: 94.8 kB / 1.071 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/1.23, allocations: 0.9422 MB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/1.23, allocations: 8.625 kB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.23, allocations: 0.9688 kB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.23, allocations: 5.156 kB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/1.236, allocations: 2.204 MB / 1.074 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.236, allocations: 1.375 kB / 1.074 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.237, allocations: 116 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/1.237, allocations: 4.938 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/1.237, allocations: 22.25 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.237, allocations: 13.16 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.238, allocations: 1.625 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006032/1.244, allocations: 1.553 MB / 1.076 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/1.244, allocations: 180.8 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/1.244, allocations: 30.88 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/1.245, allocations: 86.78 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.246, allocations: 104 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.246, allocations: 36.52 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001052/1.247, allocations: 0.5089 MB / 1.077 GB, free: 136.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.247, allocations: 0 / 1.077 GB, free: 136.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001728/1.249, allocations: 357.7 kB / 1.077 GB, free: 136.2 MB / 0.698 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) * Number of clocked states: 0 () * 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.0003352/1.249, allocations: 170.3 kB / 1.077 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004473/1.253, allocations: 1.322 MB / 1.079 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.253, allocations: 1.094 kB / 1.079 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/1.255, allocations: 483.8 kB / 1.079 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.256, allocations: 134.4 kB / 1.079 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/1.261, allocations: 1.988 MB / 1.081 GB, free: 135 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/1.262, allocations: 1.057 MB / 1.082 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001065/1.263, allocations: 126.1 kB / 1.082 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/1.264, allocations: 79.06 kB / 1.083 GB, free: 134.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/1.264, allocations: 0 / 1.083 GB, free: 134.2 MB / 0.698 GB Notification: Performance of Templates: time 0.03018/1.294, allocations: 9.617 MB / 1.092 GB, free: 133.7 MB / 0.698 GB