Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.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 7.0.1/package.mo): time 2.495/2.495, allocations: 253.2 MB / 260.6 MB, free: 7.41 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00138/0.001379, allocations: 167.4 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.5 MB / 0.5708 GB, free: 15.29 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 97.72 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.31e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8786/1.086, allocations: 135.2 MB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.087, allocations: 82.62 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09463/1.181, allocations: 17.34 MB / 1.038 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.876e-06/1.181, allocations: 0 / 1.038 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.775e-05/1.181, allocations: 24 kB / 1.038 GB, free: 3.66 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004277/1.186, allocations: 1.273 MB / 1.039 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.186, allocations: 12.02 kB / 1.039 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/1.186, allocations: 150.2 kB / 1.039 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/1.187, allocations: 356.9 kB / 1.04 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/1.187, allocations: 55.48 kB / 1.04 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/1.188, allocations: 76 kB / 1.04 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00262/1.19, allocations: 0.7045 MB / 1.04 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/1.193, allocations: 0.917 MB / 1.041 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/1.193, allocations: 4 kB / 1.041 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/1.193, allocations: 11.94 kB / 1.041 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/1.194, allocations: 35.98 kB / 1.041 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008219/1.202, allocations: 2.671 MB / 1.044 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/1.204, allocations: 0.7992 MB / 1.045 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008608/1.205, allocations: 294.7 kB / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/1.205, allocations: 24.77 kB / 1.045 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/1.207, allocations: 0.5586 MB / 1.046 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 4.949e-06/1.207, allocations: 0 / 1.046 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.002563/1.209, allocations: 0.8354 MB / 1.046 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/1.209, allocations: 251.5 kB / 1.047 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/1.21, allocations: 472.9 kB / 1.047 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/1.211, allocations: 33.58 kB / 1.047 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/1.211, allocations: 481 kB / 1.048 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/1.212, allocations: 267.1 kB / 1.048 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/1.212, allocations: 4.188 kB / 1.048 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.212, allocations: 395.7 kB / 1.048 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/1.213, allocations: 243.1 kB / 1.048 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009465/1.214, allocations: 0.509 MB / 1.049 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/1.214, allocations: 288.2 kB / 1.049 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.215, allocations: 4 kB / 1.049 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002428/1.217, allocations: 0.8414 MB / 1.05 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.217, allocations: 9.094 kB / 1.05 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.217, allocations: 8 kB / 1.05 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.713e-05/1.217, allocations: 19.95 kB / 1.05 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.219, allocations: 178.6 kB / 1.05 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/1.219, allocations: 15.94 kB / 1.05 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.22, allocations: 95.52 kB / 1.05 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.22, allocations: 50.67 kB / 1.05 GB, free: 9.301 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition12,$PRE.trimRespondLogic1.tim.t_next,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition15,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition16,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,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.greEquThr1.y,trimRespondLogic.greEquThr1.y,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.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.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic2.greEquThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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.0005133/1.22, allocations: 180.1 kB / 1.051 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.221, allocations: 83.06 kB / 1.051 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.223, allocations: 0.8353 MB / 1.051 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/1.223, allocations: 15.95 kB / 1.051 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.223, allocations: 0 / 1.051 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/1.223, allocations: 11.97 kB / 1.051 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/1.229, allocations: 2.55 MB / 1.054 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.229, allocations: 4 kB / 1.054 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/1.23, allocations: 107 kB / 1.054 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/1.23, allocations: 8.25 kB / 1.054 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.23, allocations: 19.92 kB / 1.054 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/1.23, allocations: 11.92 kB / 1.054 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.23, allocations: 4 kB / 1.054 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/1.233, allocations: 1.171 MB / 1.055 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/1.234, allocations: 162.2 kB / 1.055 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/1.234, allocations: 15.62 kB / 1.055 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.235, allocations: 67.92 kB / 1.055 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/1.235, allocations: 97.42 kB / 1.056 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.235, allocations: 46.05 kB / 1.056 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007147/1.236, allocations: 330.1 kB / 1.056 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.71e-07/1.236, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001533/1.238, allocations: 227 kB / 1.056 GB, free: 4.371 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 58 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.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 (107): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.00037/1.238, allocations: 155.5 kB / 1.056 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002127/1.24, allocations: 0.7314 MB / 1.057 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.24, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.242, allocations: 472.6 kB / 1.057 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.243, allocations: 84 kB / 1.058 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.247, allocations: 1.241 MB / 1.059 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/1.248, allocations: 1.066 MB / 1.06 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008214/1.249, allocations: 94.19 kB / 1.06 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/1.249, allocations: 78.09 kB / 1.06 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of SimCode: time 3.005e-06/1.249, allocations: 0 / 1.06 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of Templates: time 0.02588/1.275, allocations: 6.849 MB / 1.067 GB, free: 10.2 MB / 0.6823 GB