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 5.027/5.027, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002584/0.002584, allocations: 359.1 kB / 0.6447 GB, free: 185.6 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.177/4.177, 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.001864/0.001863, allocations: 168.2 kB / 1.226 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006293/0.0006295, allocations: 12.53 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2067, allocations: 115.3 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.004813/0.2116, allocations: 3.363 MB / 1.465 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004473/0.2161, allocations: 2.24 MB / 1.467 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008278/0.217, allocations: 31.88 kB / 1.467 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.2173, allocations: 98.81 kB / 1.467 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006987/0.218, allocations: 126.8 kB / 1.467 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.22, allocations: 0.4908 MB / 1.468 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.2223, allocations: 1.341 MB / 1.469 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.2237, allocations: 0.6197 MB / 1.469 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006775/0.2244, allocations: 354 kB / 1.47 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.2251, allocations: 437.3 kB / 1.47 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.2253, allocations: 40 kB / 1.47 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.2255, allocations: 51.98 kB / 1.47 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.2258, allocations: 198.9 kB / 1.471 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.2262, allocations: 245 kB / 1.471 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.2284, allocations: 1.621 MB / 1.472 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2285, allocations: 4 kB / 1.472 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2285, allocations: 0 / 1.472 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.2285, allocations: 0 / 1.472 GB, free: 11.3 MB / 0.6198 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.004442/0.233, allocations: 1.428 MB / 1.474 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.233, allocations: 8.031 kB / 1.474 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.2336, allocations: 162.1 kB / 1.474 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.2367, allocations: 0.8868 MB / 1.475 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.2369, allocations: 106.5 kB / 1.475 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/0.2373, allocations: 136 kB / 1.475 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.2408, allocations: 1.154 MB / 1.476 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.2409, allocations: 4 kB / 1.476 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.2411, allocations: 55.98 kB / 1.476 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.2411, allocations: 32 kB / 1.476 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.2438, allocations: 0.8082 MB / 1.477 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009954/0.2538, allocations: 3.641 MB / 1.481 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.2562, allocations: 0.6689 MB / 1.481 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.257, allocations: 266.4 kB / 1.481 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.2571, allocations: 17.48 kB / 1.481 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.2586, allocations: 0.5359 MB / 1.482 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=92): time 3.657e-06/0.2586, allocations: 0 / 1.482 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92): time 0.003404/0.262, allocations: 1.046 MB / 1.483 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.2622, allocations: 247.9 kB / 1.483 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.2637, allocations: 0.7546 MB / 1.484 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.2639, allocations: 53.7 kB / 1.484 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/0.2646, allocations: 0.6158 MB / 1.485 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.2649, allocations: 248.5 kB / 1.485 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.265, allocations: 32 kB / 1.485 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002802/0.2653, allocations: 414.7 kB / 1.485 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.2664, allocations: 286.4 kB / 1.486 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.2678, allocations: 0.7915 MB / 1.486 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.269, allocations: 401.7 kB / 1.487 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.2691, allocations: 8 kB / 1.487 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003442/0.2725, allocations: 1.197 MB / 1.488 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.2726, allocations: 40.67 kB / 1.488 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.2727, allocations: 16 kB / 1.488 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.316e-05/0.2727, allocations: 31.98 kB / 1.488 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.2742, allocations: 223.5 kB / 1.488 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.255e-05/0.2742, allocations: 35.86 kB / 1.488 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.2759, allocations: 202.9 kB / 1.488 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.276, allocations: 71.98 kB / 1.489 GB, free: 10.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$whenCondition15,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,$PRE.trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,$whenCondition8,trimRespondLogic1.sampler.sampleTrigger,$whenCondition9,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition13,trimRespondLogic.sampler.sampleTrigger,$whenCondition14,trimRespondLogic.uniDel.sampleTrigger,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition5,$PRE.trimRespondLogic2.tim.t_next,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.t_next,$whenCondition3,trimRespondLogic2.sampler.sampleTrigger,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,trimRespondLogic1.swi2.u2,trimRespondLogic1.not1.y,trimRespondLogic.swi2.u2,trimRespondLogic.not1.y,con.y,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,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,$whenCondition16,$whenCondition17,trimRespondLogic.tim.u,$whenCondition11,$whenCondition12,trimRespondLogic1.tim.u,trimRespondLogic1.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic.lesThr1.y,$whenCondition6,$whenCondition7,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,trimRespondLogic2.greThr2.y,trimRespondLogic2.lesThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 163 * 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.0008362/0.2769, allocations: 349.3 kB / 1.489 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.2771, allocations: 98.78 kB / 1.489 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.2797, allocations: 0.8628 MB / 1.49 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.2798, allocations: 11.98 kB / 1.49 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2798, allocations: 0 / 1.49 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.28, allocations: 163.8 kB / 1.49 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.2802, allocations: 23.98 kB / 1.49 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.2809, allocations: 63.98 kB / 1.49 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/0.2812, allocations: 84.39 kB / 1.49 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002688/0.284, allocations: 0.9778 MB / 1.491 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002531/0.2865, allocations: 1.087 MB / 1.492 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001017/0.2876, allocations: 379.9 kB / 1.492 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009223/0.2885, allocations: 467 kB / 1.493 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of Backend: time 8.42e-07/0.2885, allocations: 0 / 1.493 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002686/0.2912, allocations: 0.7551 MB / 1.494 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00537/0.2966, allocations: 2.526 MB / 1.496 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.04412/0.3408, allocations: 9.3 MB / 1.505 GB, free: 8.902 MB / 0.6511 GB