Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.809/2.809, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 188.3 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 93.94 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.821e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8005, allocations: 115.2 MB / 0.9635 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/1.045, allocations: 140.4 MB / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.046, allocations: 74.33 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0899/1.136, allocations: 20.39 MB / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.835e-06/1.136, allocations: 4 kB / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001187/1.136, allocations: 29.41 kB / 1.121 GB, free: 11.71 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.004026/1.14, allocations: 1.392 MB / 1.122 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.14, allocations: 12.03 kB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005266/1.141, allocations: 170 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/1.142, allocations: 0.6822 MB / 1.123 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.142, allocations: 51.98 kB / 1.123 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/1.143, allocations: 87.98 kB / 1.123 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002363/1.145, allocations: 0.7353 MB / 1.124 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/1.148, allocations: 0.962 MB / 1.125 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.148, allocations: 0 / 1.125 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/1.148, allocations: 11.98 kB / 1.125 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/1.148, allocations: 36 kB / 1.125 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009094/1.157, allocations: 2.998 MB / 1.128 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/1.159, allocations: 0.7781 MB / 1.128 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/1.16, allocations: 284.4 kB / 1.129 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.624e-05/1.16, allocations: 21.08 kB / 1.129 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/1.162, allocations: 0.5547 MB / 1.129 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 4.228e-06/1.162, allocations: 0 / 1.129 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.002559/1.164, allocations: 0.8293 MB / 1.13 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.164, allocations: 255.8 kB / 1.13 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/1.166, allocations: 0.5619 MB / 1.131 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/1.166, allocations: 41.69 kB / 1.131 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/1.166, allocations: 0.5389 MB / 1.131 GB, free: 396 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/1.167, allocations: 264.2 kB / 1.132 GB, free: 128 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/1.167, allocations: 11.12 kB / 1.132 GB, free: 120 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002497/1.167, allocations: 402.7 kB / 1.132 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/1.168, allocations: 270.6 kB / 1.132 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.169, allocations: 0.5091 MB / 1.133 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/1.171, allocations: 374.1 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.171, allocations: 7.938 kB / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003612/1.175, allocations: 0.9586 MB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-05/1.175, allocations: 38.48 kB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/1.175, allocations: 8 kB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/1.175, allocations: 12 kB / 1.134 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.176, allocations: 184.3 kB / 1.134 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/1.176, allocations: 19.94 kB / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.178, allocations: 155.1 kB / 1.134 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.178, allocations: 51.97 kB / 1.135 GB, free: 13.04 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.0003986/1.178, allocations: 181.7 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/1.179, allocations: 94.88 kB / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/1.181, allocations: 0.8275 MB / 1.136 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.181, allocations: 12 kB / 1.136 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.181, allocations: 0 / 1.136 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/1.181, allocations: 15.97 kB / 1.136 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005496/1.187, allocations: 2.596 MB / 1.138 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.187, allocations: 4 kB / 1.138 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/1.188, allocations: 112 kB / 1.138 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.188, allocations: 8 kB / 1.138 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/1.188, allocations: 15.98 kB / 1.138 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.188, allocations: 4 kB / 1.138 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/1.188, allocations: 7.984 kB / 1.138 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/1.19, allocations: 1.18 MB / 1.139 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/1.191, allocations: 167.8 kB / 1.14 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.191, allocations: 13.17 kB / 1.14 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/1.192, allocations: 67.94 kB / 1.14 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/1.192, allocations: 108.3 kB / 1.14 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.192, allocations: 44.73 kB / 1.14 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007971/1.193, allocations: 403.2 kB / 1.14 GB, free: 7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.296e-06/1.193, allocations: 0 / 1.14 GB, free: 7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001462/1.195, allocations: 251.4 kB / 1.14 GB, free: 6.754 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) * 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.0003689/1.195, allocations: 163 kB / 1.141 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.197, allocations: 0.8139 MB / 1.141 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.197, allocations: 2 kB / 1.141 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.199, allocations: 465.9 kB / 1.142 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/1.2, allocations: 105.9 kB / 1.142 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/1.204, allocations: 1.346 MB / 1.143 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/1.205, allocations: 1.117 MB / 1.144 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008492/1.206, allocations: 121.7 kB / 1.144 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/1.206, allocations: 79.41 kB / 1.145 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/1.206, allocations: 0 / 1.145 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.02975/1.236, allocations: 8.042 MB / 1.152 GB, free: 10.66 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)