Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 168.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008378/0.000838, allocations: 89.48 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.219e-05/1.22e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6941, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.89, allocations: 141.6 MB / 1.112 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.8903, allocations: 72.48 kB / 1.112 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05196/0.9422, allocations: 20.38 MB / 1.132 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9423, allocations: 4 kB / 1.132 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.248e-05/0.9423, allocations: 28 kB / 1.132 GB, free: 4.277 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002341/0.9447, allocations: 1.395 MB / 1.133 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9447, allocations: 12.03 kB / 1.133 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.945, allocations: 168.8 kB / 1.133 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.946, allocations: 0.69 MB / 1.134 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.946, allocations: 47.98 kB / 1.134 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.9462, allocations: 88 kB / 1.134 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/0.9475, allocations: 0.7314 MB / 1.135 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.9492, allocations: 0.9621 MB / 1.136 GB, free: 44 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.9492, allocations: 0 / 1.136 GB, free: 44 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.9493, allocations: 7.984 kB / 1.136 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.9493, allocations: 32 kB / 1.136 GB, free: 4 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00473/0.954, allocations: 2.999 MB / 1.139 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.9553, allocations: 0.7855 MB / 1.139 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.9557, allocations: 283.4 kB / 1.14 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.9558, allocations: 25.03 kB / 1.14 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000831/0.9566, allocations: 0.5517 MB / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=105): time 2.775e-06/0.9566, allocations: 0 / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105): time 0.001363/0.958, allocations: 0.8407 MB / 1.141 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.9581, allocations: 247.9 kB / 1.141 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.9588, allocations: 0.5619 MB / 1.142 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.9589, allocations: 37.7 kB / 1.142 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.9593, allocations: 0.5406 MB / 1.142 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.9595, allocations: 268.2 kB / 1.143 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.9595, allocations: 8.188 kB / 1.143 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.9597, allocations: 402.7 kB / 1.143 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.9602, allocations: 270.6 kB / 1.143 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.9608, allocations: 0.5168 MB / 1.144 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000953/0.9617, allocations: 374 kB / 1.144 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.9617, allocations: 4 kB / 1.144 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001872/0.9636, allocations: 0.9557 MB / 1.145 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.9637, allocations: 41.7 kB / 1.145 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.9637, allocations: 11.98 kB / 1.145 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.9638, allocations: 12 kB / 1.145 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.9644, allocations: 176.3 kB / 1.145 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.9644, allocations: 19.94 kB / 1.145 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/0.9652, allocations: 155.2 kB / 1.145 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.9653, allocations: 47.98 kB / 1.145 GB, free: 5.594 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$whenCondition13,$PRE.trimRespondLogic1.tim.t_next,$whenCondition8,$PRE.trimRespondLogic.tim.t_next,$whenCondition11,trimRespondLogic.uniDel.sampleTrigger,$whenCondition12,trimRespondLogic.sampler.sampleTrigger,$whenCondition16,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition17,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greThr1.y,trimRespondLogic.greThr1.y,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.y,booPul.y,reaToInt2.y,trimRespondLogic2.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * 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.0002458/0.9655, allocations: 181.6 kB / 1.146 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.9657, allocations: 94.88 kB / 1.146 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.9671, allocations: 0.8274 MB / 1.147 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.9671, allocations: 16.03 kB / 1.147 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9671, allocations: 0 / 1.147 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.9671, allocations: 11.98 kB / 1.147 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.9704, allocations: 2.598 MB / 1.149 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.9704, allocations: 4 kB / 1.149 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.9709, allocations: 112.1 kB / 1.149 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.9709, allocations: 8 kB / 1.149 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.971, allocations: 15.97 kB / 1.149 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.971, allocations: 7.938 kB / 1.149 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.971, allocations: 4 kB / 1.149 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.9724, allocations: 1.176 MB / 1.15 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.9726, allocations: 173.5 kB / 1.151 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9727, allocations: 15.98 kB / 1.151 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.9732, allocations: 67.92 kB / 1.151 GB, free: 100 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.9734, allocations: 100.4 kB / 1.151 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.9735, allocations: 47.97 kB / 1.151 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004553/0.974, allocations: 403.1 kB / 1.151 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.974, allocations: 0 / 1.151 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008629/0.9748, allocations: 244.6 kB / 1.151 GB, free: 15.32 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 56 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition10,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002599/0.9751, allocations: 166.7 kB / 1.152 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.9763, allocations: 0.8139 MB / 1.152 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9763, allocations: 2 kB / 1.152 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.977, allocations: 477.8 kB / 1.153 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.9776, allocations: 97.94 kB / 1.153 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.9799, allocations: 1.342 MB / 1.154 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.9807, allocations: 1.121 MB / 1.155 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004172/0.9811, allocations: 114.3 kB / 1.155 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.9813, allocations: 83.41 kB / 1.155 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of SimCode: time 3.71e-07/0.9813, allocations: 2.062 kB / 1.155 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of Templates: time 0.01517/0.9965, allocations: 8.041 MB / 1.163 GB, free: 3.172 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)