Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.92/4.92, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002473/0.002473, allocations: 360.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.264/4.264, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001817, allocations: 174 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004831, allocations: 20 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7309, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.9371, allocations: 143.9 MB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9374, allocations: 83.94 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05485/0.9923, allocations: 16.13 MB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9923, allocations: 0 / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.926e-05/0.9924, allocations: 24.5 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003134/0.9955, allocations: 1.256 MB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.9956, allocations: 16.75 kB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.9959, allocations: 134.5 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.9969, allocations: 0.5938 MB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.9971, allocations: 98.64 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.9973, allocations: 118.8 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/1, allocations: 1.174 MB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/1, allocations: 11.86 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/1, allocations: 48 kB / 1.621 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/1.001, allocations: 31.95 kB / 1.621 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/1.003, allocations: 0.8974 MB / 1.622 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006956/1.01, allocations: 3.709 MB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/1.013, allocations: 0.8337 MB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/1.014, allocations: 391.4 kB / 1.627 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/1.014, allocations: 16.64 kB / 1.627 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/1.016, allocations: 0.5529 MB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/1.016, allocations: 2.188 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.003705/1.019, allocations: 1.169 MB / 1.629 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/1.019, allocations: 201.5 kB / 1.629 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.021, allocations: 0.766 MB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.021, allocations: 57.7 kB / 1.63 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.021, allocations: 461.5 kB / 1.63 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/1.021, allocations: 232.8 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/1.021, allocations: 21 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/1.021, allocations: 341.9 kB / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.023, allocations: 325.5 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/1.024, allocations: 0.5709 MB / 1.631 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.025, allocations: 340.7 kB / 1.632 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.025, allocations: 0 / 1.632 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002752/1.028, allocations: 0.9705 MB / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.028, allocations: 231.6 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.028, allocations: 7.953 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.028, allocations: 12 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.029, allocations: 163.6 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/1.029, allocations: 12.08 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.03, allocations: 175.1 kB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.03, allocations: 40.72 kB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/1.03, allocations: 4 kB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/1.033, allocations: 0.824 MB / 1.634 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.033, allocations: 12.09 kB / 1.634 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.033, allocations: 8 kB / 1.634 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.034, allocations: 155.7 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.034, allocations: 12 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/1.035, allocations: 159 kB / 1.634 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/1.035, allocations: 36 kB / 1.634 GB, free: 106.7 MB / 0.8542 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 (121): * Single equations (assignments): 121 * 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.0007232/1.036, allocations: 387.5 kB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/1.036, allocations: 94.86 kB / 1.635 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/1.039, allocations: 0.9331 MB / 1.636 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.039, allocations: 8 kB / 1.636 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.039, allocations: 4 kB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.039, allocations: 5.719 kB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/1.043, allocations: 2.175 MB / 1.638 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.043, allocations: 4.125 kB / 1.638 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/1.044, allocations: 111.8 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/1.044, allocations: 15.94 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/1.044, allocations: 19.98 kB / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.044, allocations: 8 kB / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.044, allocations: 0 / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003851/1.048, allocations: 1.472 MB / 1.64 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.048, allocations: 180 kB / 1.64 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.048, allocations: 27.95 kB / 1.64 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/1.049, allocations: 91.92 kB / 1.64 GB, free: 101 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/1.05, allocations: 100.5 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/1.05, allocations: 31.98 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007806/1.051, allocations: 0.499 MB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.051, allocations: 0 / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001317/1.052, allocations: 347.4 kB / 1.641 GB, free: 100.1 MB / 0.8542 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 (87): * Single equations (assignments): 79 * 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.0002843/1.052, allocations: 178.1 kB / 1.641 GB, free: 99.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003696/1.056, allocations: 1.305 MB / 1.642 GB, free: 98.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.056, allocations: 0 / 1.642 GB, free: 98.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.057, allocations: 480.6 kB / 1.643 GB, free: 98.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.058, allocations: 146 kB / 1.643 GB, free: 97.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/1.062, allocations: 1.939 MB / 1.645 GB, free: 95.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/1.063, allocations: 1.043 MB / 1.646 GB, free: 94.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008513/1.064, allocations: 127 kB / 1.646 GB, free: 94.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/1.064, allocations: 75.42 kB / 1.646 GB, free: 94.71 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/1.064, allocations: 0 / 1.646 GB, free: 94.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.02523/1.089, allocations: 9.335 MB / 1.655 GB, free: 85.59 MB / 0.8542 GB