Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.557/1.557, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.0009129, allocations: 182.8 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000732/0.000732, allocations: 95.75 kB / 0.7808 GB, free: 43.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003857, allocations: 19.97 kB / 0.9088 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5353, allocations: 120.3 MB / 1.026 GB, free: 57.06 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.718, allocations: 144.6 MB / 1.168 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.7182, allocations: 75.95 kB / 1.168 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0503/0.7686, allocations: 20.64 MB / 1.188 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7686, allocations: 7.984 kB / 1.188 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.521e-05/0.7687, allocations: 31.98 kB / 1.188 GB, free: 8.98 MB / 0.7605 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.002273/0.7709, allocations: 1.499 MB / 1.189 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.771, allocations: 8.031 kB / 1.189 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.7712, allocations: 175 kB / 1.189 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.7721, allocations: 0.7101 MB / 1.19 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.7722, allocations: 110.9 kB / 1.19 GB, free: 6.355 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.7724, allocations: 136.4 kB / 1.19 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.7742, allocations: 1.189 MB / 1.192 GB, free: 5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.7742, allocations: 4.188 kB / 1.192 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.7743, allocations: 59.88 kB / 1.192 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.7743, allocations: 32 kB / 1.192 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.7758, allocations: 0.8589 MB / 1.192 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.7807, allocations: 3.286 MB / 1.196 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.7822, allocations: 0.8821 MB / 1.197 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.7828, allocations: 339.8 kB / 1.197 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.7828, allocations: 25.06 kB / 1.197 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/0.7838, allocations: 0.6184 MB / 1.197 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=105): time 2.485e-06/0.7838, allocations: 0 / 1.197 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=105): time 0.002259/0.7861, allocations: 1.28 MB / 1.199 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.7862, allocations: 251.8 kB / 1.199 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7873, allocations: 0.9396 MB / 1.2 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.7873, allocations: 57.7 kB / 1.2 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.7877, allocations: 0.5355 MB / 1.2 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.7879, allocations: 280.2 kB / 1.201 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.788, allocations: 24 kB / 1.201 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7881, allocations: 353.9 kB / 1.201 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.7888, allocations: 322.4 kB / 1.201 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007252/0.7895, allocations: 0.5701 MB / 1.202 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.7907, allocations: 0.8673 MB / 1.203 GB, free: 9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7908, allocations: 3.938 kB / 1.203 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001756/0.7925, allocations: 1.101 MB / 1.204 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.7926, allocations: 39.73 kB / 1.204 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7926, allocations: 8.656 kB / 1.204 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.7926, allocations: 12 kB / 1.204 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.7932, allocations: 183.6 kB / 1.204 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.7933, allocations: 15.94 kB / 1.204 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/0.794, allocations: 194.9 kB / 1.204 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.7941, allocations: 55.97 kB / 1.204 GB, free: 7.379 MB / 0.7761 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.0005074/0.7946, allocations: 329.4 kB / 1.205 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.7948, allocations: 122.5 kB / 1.205 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.7964, allocations: 0.9714 MB / 1.206 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.7964, allocations: 12 kB / 1.206 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.7964, allocations: 4 kB / 1.206 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7964, allocations: 3.984 kB / 1.206 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.7999, allocations: 2.894 MB / 1.209 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7999, allocations: 4 kB / 1.209 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.8003, allocations: 108.1 kB / 1.209 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.8003, allocations: 12 kB / 1.209 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.8004, allocations: 23.98 kB / 1.209 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.8004, allocations: 15.92 kB / 1.209 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8004, allocations: 0 / 1.209 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.8019, allocations: 1.195 MB / 1.21 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.8021, allocations: 207.5 kB / 1.21 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.8022, allocations: 23.98 kB / 1.21 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.8027, allocations: 83.92 kB / 1.21 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.8029, allocations: 112.2 kB / 1.21 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.803, allocations: 43.97 kB / 1.21 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007138/0.8037, allocations: 0.607 MB / 1.211 GB, free: 468 kB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8037, allocations: 0 / 1.211 GB, free: 468 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007595/0.8045, allocations: 251.6 kB / 1.211 GB, free: 216 kB / 0.7761 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.0002308/0.8047, allocations: 183.7 kB / 1.211 GB, free: 24 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.8062, allocations: 0.9248 MB / 1.212 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8062, allocations: 0 / 1.212 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.807, allocations: 0.5113 MB / 1.213 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.8081, allocations: 150.5 kB / 1.213 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.811, allocations: 2.223 MB / 1.215 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.8116, allocations: 1.091 MB / 1.216 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004154/0.812, allocations: 136.2 kB / 1.216 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.8122, allocations: 95.41 kB / 1.216 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of SimCode: time 2.41e-07/0.8122, allocations: 0 / 1.216 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of Templates: time 0.01685/0.8291, allocations: 9.81 MB / 1.226 GB, free: 1.109 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)