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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 293 MB / 309 MB, free: 4.773 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.0009959/0.0009958, allocations: 172.5 kB / 378.7 MB, free: 1.008 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.577/1.577, allocations: 205.4 MB / 0.6383 GB, free: 8.105 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.0007186/0.0007186, allocations: 95.61 kB / 0.7527 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004165, allocations: 16 kB / 0.8768 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2613, allocations: 116.4 MB / 0.9905 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7766/1.038, allocations: 142.4 MB / 1.13 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.038, allocations: 71.31 kB / 1.13 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05721/1.096, allocations: 20.64 MB / 1.15 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.035e-06/1.096, allocations: 0.9375 kB / 1.15 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001313/1.096, allocations: 31.98 kB / 1.15 GB, free: 18.3 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.003933/1.1, allocations: 1.506 MB / 1.151 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.1, allocations: 8.031 kB / 1.151 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/1.101, allocations: 164.5 kB / 1.151 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/1.102, allocations: 0.7148 MB / 1.152 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/1.103, allocations: 112.3 kB / 1.152 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004177/1.103, allocations: 136.4 kB / 1.152 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.106, allocations: 1.189 MB / 1.154 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.106, allocations: 192 / 1.154 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.106, allocations: 60.77 kB / 1.154 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/1.106, allocations: 32 kB / 1.154 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/1.108, allocations: 0.855 MB / 1.154 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0062/1.114, allocations: 3.296 MB / 1.158 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.116, allocations: 0.8805 MB / 1.159 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/1.116, allocations: 339.3 kB / 1.159 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/1.116, allocations: 24.47 kB / 1.159 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009632/1.117, allocations: 0.613 MB / 1.159 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 3.577e-06/1.117, allocations: 0 / 1.159 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.002209/1.12, allocations: 1.274 MB / 1.161 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/1.12, allocations: 255.8 kB / 1.161 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.121, allocations: 0.9473 MB / 1.162 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/1.121, allocations: 53.7 kB / 1.162 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/1.122, allocations: 0.5358 MB / 1.162 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.122, allocations: 280.2 kB / 1.163 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/1.122, allocations: 24 kB / 1.163 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/1.122, allocations: 345.9 kB / 1.163 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/1.123, allocations: 322.5 kB / 1.163 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/1.123, allocations: 0.5701 MB / 1.164 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.124, allocations: 0.8658 MB / 1.165 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.124, allocations: 7.938 kB / 1.165 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001889/1.126, allocations: 1.094 MB / 1.166 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/1.126, allocations: 49.75 kB / 1.166 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.126, allocations: 4 kB / 1.166 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.126, allocations: 16 kB / 1.166 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/1.127, allocations: 179.6 kB / 1.166 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/1.127, allocations: 19.92 kB / 1.166 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/1.128, allocations: 198.9 kB / 1.166 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.183e-05/1.128, allocations: 53.94 kB / 1.166 GB, free: 0.9727 MB / 0.7292 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.00063/1.129, allocations: 325.4 kB / 1.167 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.129, allocations: 130.5 kB / 1.167 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.131, allocations: 0.9713 MB / 1.168 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.131, allocations: 12 kB / 1.168 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.131, allocations: 0 / 1.168 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/1.131, allocations: 11.97 kB / 1.168 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/1.134, allocations: 2.895 MB / 1.171 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.134, allocations: 4.062 kB / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/1.135, allocations: 103.8 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.135, allocations: 8 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/1.135, allocations: 33 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.135, allocations: 4 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.135, allocations: 7.938 kB / 1.171 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.137, allocations: 1.199 MB / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/1.137, allocations: 207.5 kB / 1.172 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.137, allocations: 27.98 kB / 1.172 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/1.138, allocations: 83.92 kB / 1.172 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.138, allocations: 104.4 kB / 1.172 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/1.138, allocations: 39.98 kB / 1.172 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000908/1.139, allocations: 0.6148 MB / 1.173 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/1.139, allocations: 0 / 1.173 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000979/1.14, allocations: 258 kB / 1.173 GB, free: 9.789 MB / 0.7448 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.0003234/1.14, allocations: 167.9 kB / 1.173 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001889/1.142, allocations: 0.9212 MB / 1.174 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.142, allocations: 128 / 1.174 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009323/1.143, allocations: 0.5145 MB / 1.175 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.144, allocations: 152 kB / 1.175 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/1.149, allocations: 2.231 MB / 1.177 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.15, allocations: 1.095 MB / 1.178 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007676/1.151, allocations: 137 kB / 1.178 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/1.151, allocations: 91.41 kB / 1.178 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of SimCode: time 1.322e-06/1.151, allocations: 0 / 1.178 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.02504/1.176, allocations: 9.807 MB / 1.188 GB, free: 10.69 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)