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.525/2.525, allocations: 252.6 MB / 265.2 MB, free: 5.633 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.002099/0.002098, allocations: 183.8 kB / 324.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001556/0.001556, allocations: 90.69 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.465e-05, allocations: 4 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2032, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8561/1.059, allocations: 139.8 MB / 1.031 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.06, allocations: 80 kB / 1.032 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06927/1.129, allocations: 17.47 MB / 1.049 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.054e-06/1.129, allocations: 0 / 1.049 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001061/1.129, allocations: 24 kB / 1.049 GB, free: 12.24 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.003974/1.133, allocations: 1.196 MB / 1.05 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.133, allocations: 12.03 kB / 1.05 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/1.134, allocations: 134.4 kB / 1.05 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/1.135, allocations: 0.6012 MB / 1.05 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/1.136, allocations: 96 kB / 1.051 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/1.136, allocations: 128.3 kB / 1.051 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/1.139, allocations: 1.116 MB / 1.052 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/1.139, allocations: 0 / 1.052 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/1.139, allocations: 51.14 kB / 1.052 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/1.139, allocations: 28 kB / 1.052 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/1.142, allocations: 0.7852 MB / 1.053 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009922/1.152, allocations: 3.773 MB / 1.056 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/1.155, allocations: 0.7847 MB / 1.057 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009335/1.156, allocations: 331.6 kB / 1.057 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/1.156, allocations: 12.84 kB / 1.057 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/1.157, allocations: 0.5029 MB / 1.058 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=83): time 3.978e-06/1.157, allocations: 0 / 1.058 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83): time 0.002275/1.16, allocations: 0.7554 MB / 1.059 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.16, allocations: 199.9 kB / 1.059 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.161, allocations: 0.6752 MB / 1.059 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/1.161, allocations: 72.12 kB / 1.06 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/1.162, allocations: 480.6 kB / 1.06 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/1.162, allocations: 229.1 kB / 1.06 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/1.162, allocations: 24.38 kB / 1.06 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.163, allocations: 347.1 kB / 1.061 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/1.163, allocations: 268.4 kB / 1.061 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/1.164, allocations: 0.5059 MB / 1.061 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/1.165, allocations: 293.5 kB / 1.062 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.165, allocations: 0 / 1.062 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002394/1.168, allocations: 0.8557 MB / 1.062 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008601/1.169, allocations: 1.931 MB / 1.064 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/1.169, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-05/1.169, allocations: 15.95 kB / 1.064 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.17, allocations: 162.5 kB / 1.065 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/1.17, allocations: 12 kB / 1.065 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.171, allocations: 170.8 kB / 1.065 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.172, allocations: 36.94 kB / 1.065 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.172, allocations: 4 kB / 1.065 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/1.174, allocations: 0.737 MB / 1.065 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.174, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.174, allocations: 11.98 kB / 1.065 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.175, allocations: 163.1 kB / 1.066 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.175, allocations: 12 kB / 1.066 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.176, allocations: 153.1 kB / 1.066 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.176, allocations: 34.81 kB / 1.066 GB, free: 14.04 MB / 0.6823 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.0004484/1.177, allocations: 205 kB / 1.066 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.177, allocations: 94.86 kB / 1.066 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/1.179, allocations: 0.8358 MB / 1.067 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.179, allocations: 8 kB / 1.067 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.179, allocations: 4 kB / 1.067 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.179, allocations: 3.984 kB / 1.067 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/1.184, allocations: 2.092 MB / 1.069 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.184, allocations: 0 / 1.069 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.185, allocations: 119.7 kB / 1.069 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/1.186, allocations: 4 kB / 1.069 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.186, allocations: 26.78 kB / 1.069 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/1.186, allocations: 7.953 kB / 1.069 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.186, allocations: 4 kB / 1.069 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/1.189, allocations: 1.366 MB / 1.07 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/1.189, allocations: 173.8 kB / 1.071 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.19, allocations: 25.86 kB / 1.071 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009902/1.191, allocations: 90.27 kB / 1.071 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/1.191, allocations: 105.8 kB / 1.071 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.191, allocations: 42.41 kB / 1.071 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001019/1.192, allocations: 0.4946 MB / 1.071 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.192, allocations: 0 / 1.071 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001734/1.194, allocations: 368.3 kB / 1.072 GB, free: 9.43 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.0003812/1.194, allocations: 169 kB / 1.072 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003452/1.198, allocations: 1.174 MB / 1.073 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.198, allocations: 1.812 kB / 1.073 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.199, allocations: 424.3 kB / 1.073 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.2, allocations: 139.9 kB / 1.074 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/1.204, allocations: 1.276 MB / 1.075 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/1.205, allocations: 1.045 MB / 1.076 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001375/1.207, allocations: 171.1 kB / 1.076 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/1.207, allocations: 71.41 kB / 1.076 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of SimCode: time 1.784e-06/1.207, allocations: 4 kB / 1.076 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of Templates: time 0.03567/1.243, allocations: 10.87 MB / 1.087 GB, free: 10.11 MB / 0.698 GB