Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 285.4 MB / 298 MB, free: 5.98 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.001492/0.001493, allocations: 180.9 kB / 366.4 MB, free: 2.113 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.815/1.815, allocations: 205.1 MB / 0.6248 GB, free: 7.777 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.0008582/0.0008584, allocations: 93.78 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.125e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6812, allocations: 115.3 MB / 0.9709 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.8671, allocations: 141.3 MB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.8675, allocations: 79.44 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0547/0.9222, allocations: 20.53 MB / 1.129 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9223, allocations: 4 kB / 1.129 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000132/0.9224, allocations: 28 kB / 1.129 GB, free: 6.105 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.003597/0.926, allocations: 1.404 MB / 1.13 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9261, allocations: 11.97 kB / 1.13 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.9269, allocations: 170 kB / 1.131 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.9293, allocations: 0.6823 MB / 1.131 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.9295, allocations: 106.5 kB / 1.131 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/0.9298, allocations: 140 kB / 1.131 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.9326, allocations: 1.142 MB / 1.133 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.9326, allocations: 0 / 1.133 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.9328, allocations: 55.98 kB / 1.133 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.9328, allocations: 32 kB / 1.133 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.9344, allocations: 0.8007 MB / 1.133 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.9406, allocations: 3.298 MB / 1.137 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.9421, allocations: 0.8381 MB / 1.138 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.9426, allocations: 315.4 kB / 1.138 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.9427, allocations: 21.89 kB / 1.138 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009479/0.9437, allocations: 0.591 MB / 1.138 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=105): time 3.847e-06/0.9437, allocations: 1.219 kB / 1.138 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105): time 0.001667/0.9454, allocations: 0.9239 MB / 1.139 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9455, allocations: 259.8 kB / 1.14 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.9467, allocations: 0.8218 MB / 1.14 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.9468, allocations: 53.7 kB / 1.14 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.9473, allocations: 0.5394 MB / 1.141 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.9475, allocations: 280.4 kB / 1.141 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.9476, allocations: 28 kB / 1.141 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9477, allocations: 349.9 kB / 1.142 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.9483, allocations: 294.6 kB / 1.142 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.949, allocations: 0.5468 MB / 1.142 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.9496, allocations: 360.9 kB / 1.143 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9496, allocations: 8 kB / 1.143 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001796/0.9515, allocations: 1.045 MB / 1.144 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.9515, allocations: 42.78 kB / 1.144 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.9515, allocations: 8 kB / 1.144 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.9516, allocations: 16 kB / 1.144 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.9523, allocations: 171.7 kB / 1.144 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.9523, allocations: 24.45 kB / 1.144 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.9532, allocations: 202.8 kB / 1.144 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.9533, allocations: 47.98 kB / 1.144 GB, free: 6.012 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.000245/0.9535, allocations: 220.6 kB / 1.144 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.9537, allocations: 122.5 kB / 1.145 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.9553, allocations: 0.9312 MB / 1.145 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.9553, allocations: 12 kB / 1.145 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9553, allocations: 4 kB / 1.145 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.9554, allocations: 3.984 kB / 1.145 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.959, allocations: 2.848 MB / 1.148 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.959, allocations: 0 / 1.148 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.9595, allocations: 104.1 kB / 1.148 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.9595, allocations: 15.98 kB / 1.148 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.9596, allocations: 27.98 kB / 1.148 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.9596, allocations: 4 kB / 1.148 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9596, allocations: 7.938 kB / 1.148 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.9612, allocations: 1.26 MB / 1.15 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.9614, allocations: 201.3 kB / 1.15 GB, free: 48 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.9616, allocations: 27.98 kB / 1.15 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.9622, allocations: 91.92 kB / 1.15 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/0.9625, allocations: 96.42 kB / 1.15 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.9626, allocations: 47.98 kB / 1.15 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001346/0.964, allocations: 0.6037 MB / 1.151 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.6e-07/0.964, allocations: 3.938 kB / 1.151 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001392/0.9654, allocations: 252.2 kB / 1.151 GB, free: 14.92 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.0003864/0.9658, allocations: 186.9 kB / 1.151 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.9684, allocations: 0.8783 MB / 1.152 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9684, allocations: 0 / 1.152 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.9698, allocations: 0.4925 MB / 1.152 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.9711, allocations: 133.1 kB / 1.153 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.9764, allocations: 1.409 MB / 1.154 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.9776, allocations: 1.125 MB / 1.155 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001002/0.9786, allocations: 128.3 kB / 1.155 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.9791, allocations: 91.41 kB / 1.155 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of SimCode: time 2.375e-06/0.9791, allocations: 5.219 kB / 1.155 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.03227/1.011, allocations: 9.732 MB / 1.165 GB, free: 0.8164 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)