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.006781/0.006781, allocations: 231.4 kB / 15.82 MB, free: 6.293 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.00193/0.00193, allocations: 177.9 kB / 16.71 MB, free: 5.449 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 3.975/3.975, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.027/4.027, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004934, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.177, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8327/1.01, allocations: 133.9 MB / 1.235 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.01, allocations: 89.56 kB / 1.236 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.08155/1.092, allocations: 21.13 MB / 1.256 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.053e-06/1.092, allocations: 0 / 1.256 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001215/1.092, allocations: 33.97 kB / 1.256 GB, free: 4.82 MB / 0.6198 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.004224/1.096, allocations: 1.437 MB / 1.258 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.096, allocations: 14.09 kB / 1.258 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/1.097, allocations: 153.5 kB / 1.258 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/1.1, allocations: 0.7466 MB / 1.259 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.1, allocations: 108.7 kB / 1.259 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003622/1.101, allocations: 130.5 kB / 1.259 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/1.105, allocations: 1.315 MB / 1.26 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/1.105, allocations: 4 kB / 1.26 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/1.105, allocations: 52.98 kB / 1.26 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/1.105, allocations: 31.95 kB / 1.26 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/1.109, allocations: 1.03 MB / 1.261 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/1.12, allocations: 3.934 MB / 1.265 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/1.124, allocations: 0.9887 MB / 1.266 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/1.125, allocations: 429.4 kB / 1.266 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.96e-05/1.125, allocations: 12.64 kB / 1.266 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00199/1.127, allocations: 0.6245 MB / 1.267 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 3.436e-06/1.127, allocations: 0 / 1.267 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.00503/1.132, allocations: 1.368 MB / 1.268 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/1.133, allocations: 248.2 kB / 1.269 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.135, allocations: 0.9058 MB / 1.269 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003263/1.135, allocations: 62 kB / 1.269 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/1.136, allocations: 0.5271 MB / 1.27 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/1.136, allocations: 251.5 kB / 1.27 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/1.136, allocations: 18.19 kB / 1.27 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.136, allocations: 348 kB / 1.271 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.138, allocations: 386.2 kB / 1.271 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.14, allocations: 0.6476 MB / 1.272 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.141, allocations: 410.9 kB / 1.272 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.141, allocations: 0 / 1.272 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00383/1.145, allocations: 1.092 MB / 1.273 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/1.145, allocations: 227.8 kB / 1.273 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/1.145, allocations: 11.98 kB / 1.273 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/1.145, allocations: 11.98 kB / 1.273 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.147, allocations: 179.5 kB / 1.273 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.21e-05/1.147, allocations: 14.7 kB / 1.273 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.148, allocations: 186 kB / 1.274 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.149, allocations: 40.33 kB / 1.274 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.149, allocations: 4 kB / 1.274 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003014/1.152, allocations: 0.9106 MB / 1.275 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.152, allocations: 6.844 kB / 1.275 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.152, allocations: 12 kB / 1.275 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.153, allocations: 163.4 kB / 1.275 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/1.153, allocations: 12 kB / 1.275 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.154, allocations: 174.5 kB / 1.275 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.155, allocations: 35.31 kB / 1.275 GB, free: 6.18 MB / 0.6355 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.001045/1.156, allocations: 406.1 kB / 1.275 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/1.156, allocations: 126.5 kB / 1.275 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/1.16, allocations: 1.094 MB / 1.277 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.16, allocations: 12 kB / 1.277 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.16, allocations: 0 / 1.277 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/1.16, allocations: 7.969 kB / 1.277 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/1.167, allocations: 2.506 MB / 1.279 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.167, allocations: 0 / 1.279 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.168, allocations: 134.3 kB / 1.279 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/1.168, allocations: 8 kB / 1.279 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.168, allocations: 30.41 kB / 1.279 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/1.168, allocations: 4 kB / 1.279 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.168, allocations: 7.344 kB / 1.279 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/1.173, allocations: 1.697 MB / 1.281 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007714/1.174, allocations: 295.4 kB / 1.281 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/1.175, allocations: 28.55 kB / 1.281 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.176, allocations: 101.4 kB / 1.281 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/1.176, allocations: 105.2 kB / 1.281 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.176, allocations: 38.36 kB / 1.281 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001258/1.178, allocations: 0.5842 MB / 1.282 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.178, allocations: 0 / 1.282 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001796/1.179, allocations: 403 kB / 1.282 GB, free: 0.6133 MB / 0.6355 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.0003795/1.18, allocations: 180.3 kB / 1.283 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005135/1.185, allocations: 1.47 MB / 1.284 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.185, allocations: 11.75 kB / 1.284 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.187, allocations: 0.5258 MB / 1.284 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.189, allocations: 234.5 kB / 1.285 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/1.195, allocations: 2.284 MB / 1.287 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/1.196, allocations: 1.108 MB / 1.288 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001364/1.197, allocations: 162.2 kB / 1.288 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.198, allocations: 86.98 kB / 1.288 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.198, allocations: 0 / 1.288 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.04131/1.239, allocations: 12.06 MB / 1.3 GB, free: 15.99 MB / 0.6667 GB