Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.564/2.564, allocations: 284.8 MB / 297.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002279/0.002279, allocations: 184.2 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.355/2.355, allocations: 205.1 MB / 0.6241 GB, free: 8.207 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001123, allocations: 93.45 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.228e-05, allocations: 4 kB / 0.8575 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8068, allocations: 115.2 MB / 0.97 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/1.132, allocations: 143.8 MB / 1.11 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.132, allocations: 73.69 kB / 1.111 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06575/1.198, allocations: 16.13 MB / 1.126 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.354e-06/1.198, allocations: 0 / 1.126 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.214e-05/1.198, allocations: 24 kB / 1.126 GB, free: 8.504 MB / 0.7292 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.003872/1.202, allocations: 1.168 MB / 1.127 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.202, allocations: 8.031 kB / 1.127 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/1.203, allocations: 132.2 kB / 1.128 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.204, allocations: 0.592 MB / 1.128 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.205, allocations: 94.16 kB / 1.128 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/1.205, allocations: 124 kB / 1.128 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.208, allocations: 1.096 MB / 1.129 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/1.208, allocations: 4 kB / 1.129 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.209, allocations: 44 kB / 1.129 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/1.209, allocations: 27.95 kB / 1.13 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/1.211, allocations: 0.7773 MB / 1.13 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009467/1.221, allocations: 3.722 MB / 1.134 GB, free: 472 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/1.223, allocations: 0.7607 MB / 1.135 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009199/1.224, allocations: 332.4 kB / 1.135 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.174e-05/1.224, allocations: 16.72 kB / 1.135 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/1.226, allocations: 0.4889 MB / 1.135 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 3.356e-06/1.226, allocations: 0 / 1.135 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.002253/1.228, allocations: 0.7468 MB / 1.136 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.228, allocations: 204.7 kB / 1.136 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.229, allocations: 0.664 MB / 1.137 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/1.23, allocations: 57.7 kB / 1.137 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/1.23, allocations: 464.3 kB / 1.138 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/1.231, allocations: 228.9 kB / 1.138 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/1.231, allocations: 20 kB / 1.138 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.231, allocations: 345.9 kB / 1.138 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/1.232, allocations: 266 kB / 1.138 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/1.233, allocations: 0.506 MB / 1.139 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/1.234, allocations: 294 kB / 1.139 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/1.234, allocations: 0 / 1.139 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002434/1.236, allocations: 0.8385 MB / 1.14 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/1.237, allocations: 1.932 MB / 1.142 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.237, allocations: 4 kB / 1.142 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-05/1.238, allocations: 12 kB / 1.142 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.239, allocations: 151.7 kB / 1.142 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.239, allocations: 19.92 kB / 1.142 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.24, allocations: 167 kB / 1.142 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/1.241, allocations: 39.98 kB / 1.142 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.241, allocations: 7.953 kB / 1.142 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002195/1.243, allocations: 0.7247 MB / 1.143 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.243, allocations: 4 kB / 1.143 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/1.243, allocations: 12 kB / 1.143 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.244, allocations: 152.4 kB / 1.143 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/1.244, allocations: 11.94 kB / 1.143 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.245, allocations: 163 kB / 1.143 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.246, allocations: 35.98 kB / 1.143 GB, free: 6.457 MB / 0.7448 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 (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.0004446/1.246, allocations: 200.5 kB / 1.143 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/1.246, allocations: 94.91 kB / 1.144 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/1.249, allocations: 0.8258 MB / 1.144 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.249, allocations: 8 kB / 1.144 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.249, allocations: 0 / 1.144 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.249, allocations: 3.984 kB / 1.144 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/1.254, allocations: 2.066 MB / 1.146 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.254, allocations: 0 / 1.146 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.255, allocations: 123.9 kB / 1.147 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/1.255, allocations: 4 kB / 1.147 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.255, allocations: 23.98 kB / 1.147 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/1.255, allocations: 4 kB / 1.147 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.255, allocations: 5.906 kB / 1.147 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/1.259, allocations: 1.357 MB / 1.148 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/1.259, allocations: 182.1 kB / 1.148 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.26, allocations: 24 kB / 1.148 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.261, allocations: 87.98 kB / 1.148 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.261, allocations: 112.5 kB / 1.148 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.261, allocations: 31.98 kB / 1.148 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001109/1.262, allocations: 499.2 kB / 1.149 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.01e-07/1.262, allocations: 0 / 1.149 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001742/1.264, allocations: 355.3 kB / 1.149 GB, free: 328 kB / 0.7448 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 (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.0004086/1.265, allocations: 160.5 kB / 1.149 GB, free: 164 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003413/1.268, allocations: 1.158 MB / 1.15 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.268, allocations: 5.812 kB / 1.15 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/1.269, allocations: 412.4 kB / 1.151 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.271, allocations: 130.5 kB / 1.151 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/1.275, allocations: 1.244 MB / 1.152 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/1.276, allocations: 1.041 MB / 1.153 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001317/1.277, allocations: 166.1 kB / 1.153 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.277, allocations: 71.34 kB / 1.153 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of SimCode: time 1.042e-06/1.277, allocations: 0 / 1.153 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.03604/1.313, allocations: 10.55 MB / 1.164 GB, free: 1.52 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)