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.498/2.498, allocations: 285 MB / 292.5 MB, free: 10.51 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.001508/0.001508, allocations: 180.8 kB / 360.7 MB, free: 7.254 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.259/2.259, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001017/0.001016, allocations: 98.3 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.965e-05, allocations: 0 / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9084, allocations: 115.2 MB / 0.9635 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/1.189, allocations: 143.2 MB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/1.189, allocations: 79.94 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08566/1.275, allocations: 15.98 MB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.564e-06/1.275, allocations: 0 / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001564/1.275, allocations: 24 kB / 1.119 GB, free: 13.29 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.005823/1.281, allocations: 1.164 MB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/1.281, allocations: 12.03 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/1.282, allocations: 137.8 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/1.285, allocations: 0.5882 MB / 1.121 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/1.285, allocations: 47.98 kB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/1.285, allocations: 72 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003589/1.289, allocations: 0.7034 MB / 1.122 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/1.293, allocations: 0.9366 MB / 1.123 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/1.293, allocations: 4 kB / 1.123 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/1.293, allocations: 7.938 kB / 1.123 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/1.293, allocations: 28 kB / 1.123 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/1.306, allocations: 3.462 MB / 1.126 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/1.309, allocations: 0.7042 MB / 1.127 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/1.31, allocations: 308.4 kB / 1.127 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/1.311, allocations: 8.781 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/1.312, allocations: 479.1 kB / 1.127 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 5.501e-06/1.312, allocations: 0 / 1.127 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.003042/1.315, allocations: 0.679 MB / 1.128 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/1.316, allocations: 192.7 kB / 1.128 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.317, allocations: 465.7 kB / 1.129 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/1.317, allocations: 45.69 kB / 1.129 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/1.318, allocations: 481.4 kB / 1.129 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/1.318, allocations: 218.8 kB / 1.129 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/1.319, allocations: 0 / 1.129 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003198/1.319, allocations: 386.7 kB / 1.13 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/1.32, allocations: 250.6 kB / 1.13 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/1.322, allocations: 0.4909 MB / 1.131 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.323, allocations: 264.4 kB / 1.131 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.323, allocations: 4 kB / 1.131 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003138/1.326, allocations: 0.73 MB / 1.131 GB, free: 8 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/1.327, allocations: 1.923 MB / 1.133 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.327, allocations: 5.812 kB / 1.133 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/1.327, allocations: 12 kB / 1.133 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.328, allocations: 163.7 kB / 1.134 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.329, allocations: 14.81 kB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.33, allocations: 119.5 kB / 1.134 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.33, allocations: 36 kB / 1.134 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.33, allocations: 2.188 kB / 1.134 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001849/1.332, allocations: 0.6349 MB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.332, allocations: 4 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.332, allocations: 16.61 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.333, allocations: 154.5 kB / 1.134 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/1.333, allocations: 11.94 kB / 1.134 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.334, allocations: 115.5 kB / 1.135 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/1.334, allocations: 35.98 kB / 1.135 GB, free: 12.63 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.0003641/1.334, allocations: 168.4 kB / 1.135 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/1.335, allocations: 75.14 kB / 1.135 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/1.337, allocations: 0.7347 MB / 1.136 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.337, allocations: 11.95 kB / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.337, allocations: 0 / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.337, allocations: 7.984 kB / 1.136 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/1.341, allocations: 1.856 MB / 1.137 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.341, allocations: 5.125 kB / 1.137 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/1.342, allocations: 115.7 kB / 1.138 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.935e-05/1.342, allocations: 8 kB / 1.138 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.342, allocations: 7.984 kB / 1.138 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.342, allocations: 4 kB / 1.138 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.342, allocations: 4 kB / 1.138 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/1.345, allocations: 1.271 MB / 1.139 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/1.346, allocations: 152.1 kB / 1.139 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/1.346, allocations: 18.98 kB / 1.139 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/1.347, allocations: 75.98 kB / 1.139 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/1.347, allocations: 100.6 kB / 1.139 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.347, allocations: 31.98 kB / 1.139 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005592/1.348, allocations: 322.9 kB / 1.139 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.21e-07/1.348, allocations: 0 / 1.139 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001506/1.349, allocations: 334.6 kB / 1.14 GB, free: 7.188 MB / 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.0003388/1.35, allocations: 152.3 kB / 1.14 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002868/1.352, allocations: 1.077 MB / 1.141 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.353, allocations: 2.5 kB / 1.141 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.354, allocations: 385.1 kB / 1.141 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/1.355, allocations: 100.2 kB / 1.141 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/1.358, allocations: 1.172 MB / 1.143 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/1.359, allocations: 1.044 MB / 1.144 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001225/1.36, allocations: 138.3 kB / 1.144 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/1.361, allocations: 59.42 kB / 1.144 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/1.361, allocations: 4 kB / 1.144 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.02962/1.39, allocations: 8.683 MB / 1.152 GB, free: 10.53 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)