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.614/1.614, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.001282/0.001283, allocations: 172.5 kB / 372.9 MB, free: 10.16 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.504/1.504, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007979/0.000798, allocations: 101 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 16.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7987/1.038, allocations: 141.4 MB / 1.119 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.039, allocations: 76.77 kB / 1.119 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04654/1.085, allocations: 20.64 MB / 1.139 GB, free: 26.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/1.085, allocations: 0 / 1.139 GB, free: 26.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.217e-05/1.085, allocations: 29.88 kB / 1.139 GB, free: 26.79 MB / 0.698 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.002352/1.088, allocations: 1.502 MB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.088, allocations: 11.69 kB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/1.088, allocations: 164.2 kB / 1.141 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/1.089, allocations: 0.7145 MB / 1.141 GB, free: 25.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/1.089, allocations: 109.8 kB / 1.141 GB, free: 25.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/1.089, allocations: 139.4 kB / 1.142 GB, free: 25.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.091, allocations: 1.192 MB / 1.143 GB, free: 24.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/1.091, allocations: 4.125 kB / 1.143 GB, free: 24.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/1.091, allocations: 58.11 kB / 1.143 GB, free: 24.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/1.091, allocations: 30.75 kB / 1.143 GB, free: 24.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/1.092, allocations: 0.8546 MB / 1.144 GB, free: 24.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/1.097, allocations: 3.293 MB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.099, allocations: 0.8709 MB / 1.148 GB, free: 23.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/1.099, allocations: 341.8 kB / 1.148 GB, free: 23.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/1.099, allocations: 15.73 kB / 1.148 GB, free: 23.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009173/1.1, allocations: 0.6201 MB / 1.149 GB, free: 22.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 3.145e-06/1.1, allocations: 3.938 kB / 1.149 GB, free: 22.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.002069/1.102, allocations: 1.269 MB / 1.15 GB, free: 22.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/1.102, allocations: 254.3 kB / 1.15 GB, free: 22.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/1.103, allocations: 0.945 MB / 1.151 GB, free: 21.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/1.103, allocations: 60.23 kB / 1.151 GB, free: 21.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/1.104, allocations: 0.5278 MB / 1.152 GB, free: 21.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.104, allocations: 284.8 kB / 1.152 GB, free: 21.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/1.104, allocations: 21.97 kB / 1.152 GB, free: 21.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.104, allocations: 347.2 kB / 1.152 GB, free: 21.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/1.105, allocations: 320.9 kB / 1.153 GB, free: 21.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/1.106, allocations: 0.5762 MB / 1.153 GB, free: 20.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.107, allocations: 0.8748 MB / 1.154 GB, free: 20.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.107, allocations: 3.938 kB / 1.154 GB, free: 20.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001603/1.108, allocations: 1.102 MB / 1.155 GB, free: 20.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/1.108, allocations: 33.23 kB / 1.155 GB, free: 20.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.108, allocations: 7.688 kB / 1.155 GB, free: 20.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.108, allocations: 19.2 kB / 1.155 GB, free: 20.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/1.109, allocations: 176.6 kB / 1.155 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/1.109, allocations: 19.55 kB / 1.155 GB, free: 19.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007861/1.11, allocations: 200.9 kB / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/1.11, allocations: 49.39 kB / 1.156 GB, free: 19.9 MB / 0.698 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 () * Number of clocked 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.000577/1.111, allocations: 328.6 kB / 1.156 GB, free: 19.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/1.111, allocations: 131.1 kB / 1.156 GB, free: 19.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/1.112, allocations: 0.9621 MB / 1.157 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.112, allocations: 11.66 kB / 1.157 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.112, allocations: 7.734 kB / 1.157 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.112, allocations: 7.984 kB / 1.157 GB, free: 19.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/1.116, allocations: 2.901 MB / 1.16 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.116, allocations: 0 / 1.16 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/1.116, allocations: 110.6 kB / 1.16 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/1.116, allocations: 4 kB / 1.16 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/1.116, allocations: 28.67 kB / 1.16 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/1.116, allocations: 7.938 kB / 1.16 GB, free: 17.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.116, allocations: 4 kB / 1.16 GB, free: 17.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/1.118, allocations: 1.195 MB / 1.161 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/1.118, allocations: 207.6 kB / 1.161 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.118, allocations: 29.36 kB / 1.161 GB, free: 16.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/1.119, allocations: 80.81 kB / 1.161 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.119, allocations: 104 kB / 1.162 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/1.119, allocations: 45.36 kB / 1.162 GB, free: 16.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006407/1.12, allocations: 0.6125 MB / 1.162 GB, free: 15.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.12, allocations: 0 / 1.162 GB, free: 15.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007735/1.12, allocations: 255.8 kB / 1.162 GB, free: 15.71 MB / 0.698 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) * Number of clocked states: 0 () * 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.0002477/1.121, allocations: 182 kB / 1.163 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001396/1.122, allocations: 0.925 MB / 1.164 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.122, allocations: 0 / 1.164 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007367/1.123, allocations: 0.5161 MB / 1.164 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.124, allocations: 147.9 kB / 1.164 GB, free: 14.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/1.127, allocations: 2.231 MB / 1.166 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/1.128, allocations: 1.095 MB / 1.167 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004976/1.128, allocations: 136.2 kB / 1.168 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/1.128, allocations: 90.03 kB / 1.168 GB, free: 11.01 MB / 0.698 GB Notification: Performance of SimCode: time 4.8e-07/1.128, allocations: 4 kB / 1.168 GB, free: 11 MB / 0.698 GB Notification: Performance of Templates: time 0.02037/1.149, allocations: 9.803 MB / 1.177 GB, free: 1.324 MB / 0.698 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)