Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json 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 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.872/4.872, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002582/0.00258, allocations: 354.1 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.051/4.051, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001726/0.001725, allocations: 183 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.217, allocations: 141.2 MB / 1.599 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.217, allocations: 76.89 kB / 1.599 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.09021/1.307, allocations: 20.57 MB / 1.619 GB, free: 15.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/1.307, allocations: 0 / 1.619 GB, free: 15.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.664e-05/1.308, allocations: 28 kB / 1.619 GB, free: 15.15 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.004455/1.312, allocations: 1.516 MB / 1.621 GB, free: 13.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.312, allocations: 8.031 kB / 1.621 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/1.313, allocations: 166.1 kB / 1.621 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.314, allocations: 0.6891 MB / 1.622 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/1.315, allocations: 111.1 kB / 1.622 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/1.315, allocations: 135 kB / 1.622 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/1.318, allocations: 1.195 MB / 1.623 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/1.318, allocations: 0 / 1.623 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/1.319, allocations: 57.98 kB / 1.623 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/1.319, allocations: 32 kB / 1.623 GB, free: 11.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/1.321, allocations: 0.8509 MB / 1.624 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009183/1.331, allocations: 3.296 MB / 1.627 GB, free: 8.832 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/1.333, allocations: 0.8616 MB / 1.628 GB, free: 8.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.335, allocations: 342 kB / 1.628 GB, free: 8.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/1.335, allocations: 21.08 kB / 1.628 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/1.336, allocations: 0.6243 MB / 1.629 GB, free: 7.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 3.707e-06/1.336, allocations: 0 / 1.629 GB, free: 7.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.004116/1.34, allocations: 1.277 MB / 1.63 GB, free: 6.594 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/1.341, allocations: 254.9 kB / 1.631 GB, free: 6.293 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/1.343, allocations: 0.9429 MB / 1.631 GB, free: 5.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.343, allocations: 57.77 kB / 1.632 GB, free: 5.539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006074/1.343, allocations: 0.5347 MB / 1.632 GB, free: 5.211 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/1.344, allocations: 277.9 kB / 1.632 GB, free: 4.977 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.344, allocations: 24.75 kB / 1.632 GB, free: 4.969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.344, allocations: 348.3 kB / 1.633 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.345, allocations: 320.5 kB / 1.633 GB, free: 4.445 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/1.347, allocations: 0.5689 MB / 1.634 GB, free: 3.906 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.348, allocations: 387.5 kB / 1.634 GB, free: 3.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.348, allocations: 4 kB / 1.634 GB, free: 3.656 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003278/1.351, allocations: 1.098 MB / 1.635 GB, free: 2.832 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/1.351, allocations: 45.31 kB / 1.635 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.351, allocations: 8 kB / 1.635 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.618e-05/1.351, allocations: 16 kB / 1.635 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.353, allocations: 174.7 kB / 1.635 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/1.353, allocations: 19.88 kB / 1.635 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.354, allocations: 208.5 kB / 1.635 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.354, allocations: 50.55 kB / 1.635 GB, free: 2.352 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.0008691/1.355, allocations: 326.4 kB / 1.636 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/1.356, allocations: 126 kB / 1.636 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/1.359, allocations: 0.9725 MB / 1.637 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.359, allocations: 12 kB / 1.637 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.359, allocations: 3.953 kB / 1.637 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/1.359, allocations: 7.984 kB / 1.637 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/1.365, allocations: 2.891 MB / 1.64 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.365, allocations: 8.031 kB / 1.64 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/1.366, allocations: 103.1 kB / 1.64 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/1.366, allocations: 8 kB / 1.64 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/1.366, allocations: 37.91 kB / 1.64 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/1.366, allocations: 11.92 kB / 1.64 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.366, allocations: 4 kB / 1.64 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/1.369, allocations: 1.198 MB / 1.641 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/1.369, allocations: 200.2 kB / 1.641 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.37, allocations: 30.67 kB / 1.641 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.371, allocations: 82.92 kB / 1.641 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/1.371, allocations: 98.95 kB / 1.641 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.371, allocations: 46.91 kB / 1.641 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00127/1.372, allocations: 0.6135 MB / 1.642 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/1.372, allocations: 0 / 1.642 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001372/1.374, allocations: 260.1 kB / 1.642 GB, free: 12.85 MB / 0.7136 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.0003601/1.374, allocations: 177.2 kB / 1.643 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002932/1.377, allocations: 0.9185 MB / 1.643 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/1.377, allocations: 4.188 kB / 1.643 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.379, allocations: 0.5126 MB / 1.644 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.38, allocations: 156.6 kB / 1.644 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/1.386, allocations: 2.227 MB / 1.646 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009544/1.387, allocations: 1.122 MB / 1.647 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000856/1.387, allocations: 128.3 kB / 1.647 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/1.388, allocations: 90.22 kB / 1.648 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/1.388, allocations: 0 / 1.648 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of Templates: time 0.03308/1.421, allocations: 9.741 MB / 1.657 GB, free: 14.5 MB / 0.7292 GB