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.268/2.268, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 180 kB / 325.6 MB, free: 2.824 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.402/2.402, allocations: 205.4 MB / 0.5766 GB, free: 21.08 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.001523/0.001522, allocations: 106.2 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 16.16 kB / 0.7952 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2082, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.4357, allocations: 135.1 MB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.4361, allocations: 75.95 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07716/0.5133, allocations: 17.48 MB / 1.048 GB, free: 9.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5133, allocations: 0 / 1.048 GB, free: 9.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.433e-05/0.5134, allocations: 24 kB / 1.048 GB, free: 9.066 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004085/0.5175, allocations: 1.356 MB / 1.049 GB, free: 7.621 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5175, allocations: 12.03 kB / 1.049 GB, free: 7.609 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.518, allocations: 146.2 kB / 1.049 GB, free: 7.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.5185, allocations: 358.5 kB / 1.05 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5187, allocations: 102.3 kB / 1.05 GB, free: 6.973 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.519, allocations: 128 kB / 1.05 GB, free: 6.848 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.5223, allocations: 1.124 MB / 1.051 GB, free: 5.688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.5224, allocations: 0 / 1.051 GB, free: 5.688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.5226, allocations: 51.98 kB / 1.051 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.5226, allocations: 31.95 kB / 1.051 GB, free: 5.605 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5254, allocations: 0.8121 MB / 1.052 GB, free: 4.793 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008155/0.5336, allocations: 2.96 MB / 1.055 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.5365, allocations: 0.9042 MB / 1.056 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.5367, allocations: 21.33 kB / 1.056 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.5385, allocations: 0.6302 MB / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of pre-optimization done (n=107): time 4.217e-06/0.5385, allocations: 0 / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of matching and sorting (n=107): time 0.6148/1.153, allocations: 1.274 MB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/1.154, allocations: 260.2 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/1.156, allocations: 0.7084 MB / 1.059 GB, free: 144.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.156, allocations: 58.47 kB / 1.059 GB, free: 144.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000695/1.157, allocations: 471 kB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006265/1.158, allocations: 281.8 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.158, allocations: 21.97 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.158, allocations: 352.4 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.16, allocations: 292 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.162, allocations: 0.5572 MB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/1.164, allocations: 340.4 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/1.164, allocations: 3.219 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0054/1.169, allocations: 1.007 MB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/1.169, allocations: 9.328 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/1.169, allocations: 8.656 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-05/1.169, allocations: 21.17 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.172, allocations: 177.4 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.236e-05/1.172, allocations: 22.48 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.174, allocations: 145.1 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/1.174, allocations: 48.97 kB / 1.062 GB, free: 143.5 MB / 0.698 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 () * Number of clocked 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.001228/1.175, allocations: 308.1 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/1.176, allocations: 106.2 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004933/1.181, allocations: 0.982 MB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/1.181, allocations: 15.33 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/1.181, allocations: 2.875 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-05/1.181, allocations: 6 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.192, allocations: 2.825 MB / 1.066 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.192, allocations: 4.203 kB / 1.066 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.194, allocations: 108.7 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/1.194, allocations: 6.906 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.194, allocations: 32.14 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.721e-05/1.194, allocations: 10.11 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/1.194, allocations: 3.297 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/1.2, allocations: 1.297 MB / 1.068 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/1.201, allocations: 195.5 kB / 1.068 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005252/1.201, allocations: 30.69 kB / 1.068 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.203, allocations: 83.95 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006411/1.204, allocations: 107.9 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.204, allocations: 42.73 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001926/1.206, allocations: 0.5236 MB / 1.069 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.182e-06/1.206, allocations: 0 / 1.069 GB, free: 141.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002458/1.209, allocations: 241.1 kB / 1.069 GB, free: 141.5 MB / 0.698 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) * Number of clocked states: 0 () * 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.0006454/1.209, allocations: 170 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005594/1.215, allocations: 0.8339 MB / 1.07 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.215, allocations: 1 kB / 1.07 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/1.217, allocations: 0.524 MB / 1.07 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.218, allocations: 103 kB / 1.071 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/1.224, allocations: 2.025 MB / 1.073 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/1.225, allocations: 1.067 MB / 1.074 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008555/1.226, allocations: 119.9 kB / 1.074 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/1.226, allocations: 85.14 kB / 1.074 GB, free: 139.5 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.226, allocations: 0 / 1.074 GB, free: 139.5 MB / 0.698 GB Notification: Performance of Templates: time 0.0317/1.258, allocations: 8.327 MB / 1.082 GB, free: 139.1 MB / 0.698 GB