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.409/2.409, allocations: 252.6 MB / 265.2 MB, free: 5.77 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.001413/0.001413, allocations: 179.9 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.5754 GB, free: 10.39 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.001105/0.001105, allocations: 86.12 kB / 0.6797 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.629e-05, allocations: 4 kB / 0.7912 GB, free: 96.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2005, allocations: 106.2 MB / 0.8949 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9073/1.108, allocations: 135 MB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.108, allocations: 81.84 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07634/1.185, allocations: 17.47 MB / 1.044 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.285e-06/1.185, allocations: 0 / 1.044 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.362e-05/1.185, allocations: 24 kB / 1.044 GB, free: 0.7188 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.004105/1.189, allocations: 1.269 MB / 1.045 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.189, allocations: 8.031 kB / 1.045 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/1.189, allocations: 154.2 kB / 1.045 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/1.19, allocations: 360.3 kB / 1.046 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/1.19, allocations: 102.5 kB / 1.046 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/1.191, allocations: 126.5 kB / 1.046 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/1.194, allocations: 1.085 MB / 1.047 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/1.194, allocations: 3.938 kB / 1.047 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/1.194, allocations: 56.92 kB / 1.047 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/1.194, allocations: 31.95 kB / 1.047 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/1.196, allocations: 0.7668 MB / 1.048 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008599/1.205, allocations: 2.958 MB / 1.051 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/1.208, allocations: 0.871 MB / 1.051 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009392/1.209, allocations: 324.2 kB / 1.052 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/1.209, allocations: 25.05 kB / 1.052 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/1.21, allocations: 0.598 MB / 1.052 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 4.338e-06/1.21, allocations: 0 / 1.052 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.002787/1.213, allocations: 0.9155 MB / 1.053 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/1.213, allocations: 263.3 kB / 1.054 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.215, allocations: 0.704 MB / 1.054 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000235/1.215, allocations: 57 kB / 1.054 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/1.216, allocations: 467.6 kB / 1.055 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/1.216, allocations: 288.5 kB / 1.055 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/1.216, allocations: 21.19 kB / 1.055 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.216, allocations: 351.5 kB / 1.055 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008542/1.217, allocations: 276 kB / 1.056 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.218, allocations: 0.5276 MB / 1.056 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/1.219, allocations: 327.8 kB / 1.056 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.219, allocations: 0 / 1.056 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002807/1.222, allocations: 0.9625 MB / 1.057 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/1.222, allocations: 8 kB / 1.057 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.222, allocations: 8 kB / 1.057 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.674e-05/1.222, allocations: 16 kB / 1.057 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.224, allocations: 179.6 kB / 1.058 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/1.224, allocations: 23.92 kB / 1.058 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.225, allocations: 137 kB / 1.058 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.225, allocations: 46.56 kB / 1.058 GB, free: 5.52 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.0004499/1.226, allocations: 217.1 kB / 1.058 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/1.226, allocations: 114.7 kB / 1.058 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.229, allocations: 0.9386 MB / 1.059 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/1.229, allocations: 12 kB / 1.059 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.229, allocations: 4 kB / 1.059 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.229, allocations: 3.984 kB / 1.059 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005815/1.235, allocations: 2.782 MB / 1.062 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.235, allocations: 8.062 kB / 1.062 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009002/1.236, allocations: 110.8 kB / 1.062 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/1.236, allocations: 8 kB / 1.062 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/1.236, allocations: 27.3 kB / 1.062 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/1.236, allocations: 11.98 kB / 1.062 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.236, allocations: 7.953 kB / 1.062 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/1.238, allocations: 1.251 MB / 1.063 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/1.239, allocations: 190.2 kB / 1.063 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/1.239, allocations: 31.23 kB / 1.063 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.24, allocations: 74.94 kB / 1.063 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/1.24, allocations: 110.8 kB / 1.064 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.241, allocations: 49.88 kB / 1.064 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001009/1.242, allocations: 0.51 MB / 1.064 GB, free: 312 kB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/1.242, allocations: 0 / 1.064 GB, free: 312 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001152/1.243, allocations: 236.8 kB / 1.064 GB, free: 108 kB / 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.0003631/1.243, allocations: 174.5 kB / 1.064 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002273/1.245, allocations: 0.7858 MB / 1.065 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.245, allocations: 4.062 kB / 1.065 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.247, allocations: 0.4944 MB / 1.066 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/1.248, allocations: 102.1 kB / 1.066 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/1.252, allocations: 1.319 MB / 1.067 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/1.253, allocations: 1.063 MB / 1.068 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007374/1.253, allocations: 119.5 kB / 1.068 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/1.254, allocations: 84.91 kB / 1.068 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/1.254, allocations: 0 / 1.068 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.03001/1.284, allocations: 8.353 MB / 1.077 GB, free: 4.273 MB / 0.6823 GB