Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009226/0.009226, allocations: 111.2 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001158/0.001158, allocations: 183.1 kB / 15.95 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.864/1.864, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.105/2.105, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 12 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.543, allocations: 98.7 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.7411, allocations: 133.9 MB / 0.8142 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.7414, allocations: 83.94 kB / 0.8143 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07424/0.8157, allocations: 21.15 MB / 0.8349 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.553e-06/0.8157, allocations: 0 / 0.8349 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001057/0.8158, allocations: 32 kB / 0.8349 GB, free: 3.016 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.00334/0.8192, allocations: 1.438 MB / 0.8363 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8192, allocations: 12.03 kB / 0.8364 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.8197, allocations: 162.1 kB / 0.8365 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.8213, allocations: 0.7446 MB / 0.8372 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.8215, allocations: 102.3 kB / 0.8373 GB, free: 460 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.8217, allocations: 132 kB / 0.8375 GB, free: 328 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.8252, allocations: 1.307 MB / 0.8387 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.8253, allocations: 7.938 kB / 0.8387 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.8254, allocations: 48 kB / 0.8388 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/0.8255, allocations: 31.95 kB / 0.8388 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.8297, allocations: 1.024 MB / 0.8398 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.8416, allocations: 3.936 MB / 0.8437 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.8446, allocations: 0.9936 MB / 0.8446 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.8447, allocations: 8.656 kB / 0.8446 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.8463, allocations: 0.6268 MB / 0.8453 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=90): time 4.1e-06/0.8463, allocations: 0 / 0.8453 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90): time 0.004073/0.8504, allocations: 1.366 MB / 0.8466 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.8506, allocations: 244.3 kB / 0.8468 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.8522, allocations: 0.7923 MB / 0.8476 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.8524, allocations: 69.69 kB / 0.8477 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.853, allocations: 0.5237 MB / 0.8482 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.8533, allocations: 256.5 kB / 0.8484 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.8534, allocations: 20 kB / 0.8484 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.8536, allocations: 349.9 kB / 0.8488 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.8548, allocations: 390.4 kB / 0.8491 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.8563, allocations: 0.6397 MB / 0.8498 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.8575, allocations: 406.8 kB / 0.8502 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.8575, allocations: 0 / 0.8502 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003091/0.8606, allocations: 1.101 MB / 0.8512 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009801/0.8616, allocations: 1.841 MB / 0.853 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.8617, allocations: 4 kB / 0.853 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.8617, allocations: 19.98 kB / 0.8531 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.8628, allocations: 175.7 kB / 0.8532 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.8628, allocations: 11.94 kB / 0.8532 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.8639, allocations: 191 kB / 0.8534 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.864, allocations: 39.98 kB / 0.8534 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.8641, allocations: 4 kB / 0.8535 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/0.8666, allocations: 0.9059 MB / 0.8543 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.8667, allocations: 4 kB / 0.8543 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8667, allocations: 12 kB / 0.8544 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.8675, allocations: 163.7 kB / 0.8545 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.8676, allocations: 24.14 kB / 0.8545 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.8686, allocations: 167 kB / 0.8547 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8687, allocations: 39.98 kB / 0.8547 GB, free: 14.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.conDam.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0008985/0.8696, allocations: 408.9 kB / 0.8551 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.8698, allocations: 114.7 kB / 0.8552 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.8729, allocations: 1.099 MB / 0.8563 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.8729, allocations: 12 kB / 0.8563 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.355e-06/0.8729, allocations: 0 / 0.8563 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.8729, allocations: 3.984 kB / 0.8563 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.8786, allocations: 2.515 MB / 0.8588 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.923e-06/0.8787, allocations: 0 / 0.8588 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.8795, allocations: 139.9 kB / 0.8589 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.8795, allocations: 8 kB / 0.8589 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.8797, allocations: 19.98 kB / 0.8589 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.8797, allocations: 11.98 kB / 0.8589 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.962e-06/0.8797, allocations: 0 / 0.8589 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004541/0.8842, allocations: 1.746 MB / 0.8607 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.885, allocations: 291.5 kB / 0.8609 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.8852, allocations: 24 kB / 0.861 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/0.886, allocations: 104 kB / 0.8611 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.8863, allocations: 112.8 kB / 0.8612 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.8865, allocations: 35.98 kB / 0.8612 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001159/0.8876, allocations: 0.5827 MB / 0.8618 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.26e-07/0.8876, allocations: 0 / 0.8618 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001547/0.8892, allocations: 399.2 kB / 0.8621 GB, free: 6.297 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.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 (95): * Single equations (assignments): 87 * 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.0003256/0.8895, allocations: 179 kB / 0.8623 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003997/0.8935, allocations: 1.476 MB / 0.8638 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.603e-06/0.8936, allocations: 4 kB / 0.8638 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.895, allocations: 0.5298 MB / 0.8643 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.8962, allocations: 212.2 kB / 0.8645 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.9008, allocations: 2.276 MB / 0.8667 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/0.9017, allocations: 1.11 MB / 0.8678 GB, free: 460 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001031/0.9028, allocations: 164.2 kB / 0.8679 GB, free: 292 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.9032, allocations: 83.42 kB / 0.868 GB, free: 208 kB / 0.6823 GB Notification: Performance of SimCode: time 1.601e-06/0.9032, allocations: 0 / 0.868 GB, free: 208 kB / 0.6823 GB Notification: Performance of Templates: time 0.03375/0.937, allocations: 12.05 MB / 0.8798 GB, free: 4.277 MB / 0.698 GB