Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008896/0.008896, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001136/0.001136, allocations: 179.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.086/2.086, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.107/2.107, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 11.98 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5426, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.7282, allocations: 127.6 MB / 0.808 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.7284, allocations: 75.95 kB / 0.8081 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03587/0.7643, allocations: 9.118 MB / 0.817 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.283e-06/0.7644, allocations: 0 / 0.817 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.7644, allocations: 16 kB / 0.817 GB, free: 5.316 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001977/0.7664, allocations: 0.8938 MB / 0.8179 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7664, allocations: 15.97 kB / 0.8179 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.7666, allocations: 87.02 kB / 0.818 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.767, allocations: 273.1 kB / 0.8182 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.7671, allocations: 61.31 kB / 0.8183 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7673, allocations: 75.92 kB / 0.8184 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.7689, allocations: 0.6283 MB / 0.819 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7689, allocations: 0 / 0.819 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.769, allocations: 31.98 kB / 0.819 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.769, allocations: 12 kB / 0.819 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.7704, allocations: 466.4 kB / 0.8195 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.7742, allocations: 1.721 MB / 0.8211 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.776, allocations: 0.6051 MB / 0.8217 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.7761, allocations: 8.688 kB / 0.8217 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.7771, allocations: 405.3 kB / 0.8221 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.643e-06/0.7771, allocations: 4 kB / 0.8221 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.002494/0.7796, allocations: 0.822 MB / 0.8229 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.7797, allocations: 93.09 kB / 0.823 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.7805, allocations: 425 kB / 0.8234 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.7806, allocations: 45.69 kB / 0.8235 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.781, allocations: 277 kB / 0.8237 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.7812, allocations: 173.7 kB / 0.8239 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.7813, allocations: 16 kB / 0.8239 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.7815, allocations: 370.8 kB / 0.8243 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.7821, allocations: 173.9 kB / 0.8244 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.7828, allocations: 336.7 kB / 0.8248 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.7835, allocations: 209.3 kB / 0.8249 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.592e-06/0.7835, allocations: 3.953 kB / 0.825 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001683/0.7852, allocations: 0.602 MB / 0.8255 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.7852, allocations: 8 kB / 0.8255 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.7853, allocations: 4.594 kB / 0.8256 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.7853, allocations: 12 kB / 0.8256 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.7859, allocations: 103.8 kB / 0.8257 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.7859, allocations: 11.94 kB / 0.8257 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.7864, allocations: 75.36 kB / 0.8257 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.7865, allocations: 27.98 kB / 0.8258 GB, free: 11.99 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,reaToInt1.y,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic1.tim.t_next,$whenCondition4,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic1.sampler.sampleTrigger,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.tim.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.000473/0.787, allocations: 223.2 kB / 0.826 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.7872, allocations: 67.2 kB / 0.8261 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.7891, allocations: 0.6747 MB / 0.8267 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.7891, allocations: 4 kB / 0.8267 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.979e-06/0.7891, allocations: 4 kB / 0.8267 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.7891, allocations: 3.984 kB / 0.8267 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.7926, allocations: 1.529 MB / 0.8282 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.118e-06/0.7926, allocations: 0 / 0.8282 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.7931, allocations: 67.89 kB / 0.8283 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.318e-06/0.7931, allocations: 4 kB / 0.8283 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.7932, allocations: 23.97 kB / 0.8283 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.7932, allocations: 8 kB / 0.8283 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.486e-06/0.7932, allocations: 7.969 kB / 0.8283 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.7951, allocations: 0.8366 MB / 0.8291 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.7953, allocations: 136.3 kB / 0.8293 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.7954, allocations: 15.98 kB / 0.8293 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.7959, allocations: 47.92 kB / 0.8293 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.7961, allocations: 67.91 kB / 0.8294 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.7962, allocations: 35.97 kB / 0.8294 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005336/0.7968, allocations: 322.9 kB / 0.8297 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.13e-07/0.7968, allocations: 0 / 0.8297 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007986/0.7976, allocations: 135.7 kB / 0.8299 GB, free: 7.668 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 (trimRespondLogic1.tim.u,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,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,booPul.pulseStart,reaToInt2.y,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$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,reaToInt1.y,trimRespondLogic.tim.u) * Number of discrete states: 4 (trimRespondLogic.tim.t_next,trimRespondLogic.uniDel.u,trimRespondLogic1.tim.t_next,trimRespondLogic1.uniDel.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002445/0.7978, allocations: 139.1 kB / 0.83 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.7993, allocations: 0.5085 MB / 0.8305 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.484e-06/0.7993, allocations: 0 / 0.8305 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.8002, allocations: 315.9 kB / 0.8308 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.8008, allocations: 68.11 kB / 0.8309 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.8035, allocations: 1.205 MB / 0.832 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.8041, allocations: 0.9044 MB / 0.8329 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.8046, allocations: 68.72 kB / 0.833 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.8048, allocations: 55.41 kB / 0.833 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of SimCode: time 1.678e-06/0.8048, allocations: 0 / 0.833 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of Templates: time 0.01685/0.8217, allocations: 5.284 MB / 0.8382 GB, free: 15.11 MB / 0.6667 GB