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.311/5.311, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 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.003094/0.003093, allocations: 358.1 kB / 0.644 GB, free: 185.7 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.269/4.269, allocations: 410.7 MB / 1.112 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 176.2 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008319/0.0008324, allocations: 12 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7005, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.003651/0.7042, allocations: 3.361 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.7078, allocations: 2.24 MB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008496/0.7087, allocations: 38.62 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.709, allocations: 98.81 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.7095, allocations: 125.3 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.7108, allocations: 0.4886 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.7121, allocations: 1.343 MB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.713, allocations: 0.6117 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.7135, allocations: 354 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.7139, allocations: 443 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.714, allocations: 40 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.7142, allocations: 51.98 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.7143, allocations: 192.2 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.7145, allocations: 248.2 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.7159, allocations: 1.615 MB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7159, allocations: 6.734 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7159, allocations: 0 / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.7159, allocations: 0 / 1.472 GB, free: 273.2 MB / 0.8542 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.002715/0.7186, allocations: 1.434 MB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.7187, allocations: 12.38 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.719, allocations: 162.1 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.7209, allocations: 0.8788 MB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.721, allocations: 111.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.7212, allocations: 140 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.7235, allocations: 1.153 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.7236, allocations: 3.938 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7237, allocations: 55.98 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.7238, allocations: 35.94 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.7258, allocations: 0.8064 MB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006729/0.7325, allocations: 3.634 MB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7343, allocations: 0.6769 MB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.7349, allocations: 265.1 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.735, allocations: 22.66 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.736, allocations: 0.5316 MB / 1.481 GB, free: 263 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=92): time 4.121e-06/0.736, allocations: 0.5625 kB / 1.481 GB, free: 263 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.002409/0.7385, allocations: 1.035 MB / 1.482 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.7386, allocations: 251.9 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.7396, allocations: 0.7629 MB / 1.483 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/0.7397, allocations: 54.41 kB / 1.483 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.7401, allocations: 0.6203 MB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.7403, allocations: 256.5 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.7404, allocations: 29.53 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7406, allocations: 410.7 kB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/0.7414, allocations: 283.6 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/0.7423, allocations: 0.7963 MB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00088/0.7432, allocations: 405.9 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.7432, allocations: 4.656 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00254/0.7458, allocations: 1.183 MB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.7459, allocations: 45.28 kB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.7459, allocations: 20 kB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.021e-05/0.746, allocations: 31.3 kB / 1.487 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/0.7469, allocations: 220.1 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/0.7469, allocations: 31.92 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7481, allocations: 203.2 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.7482, allocations: 73.55 kB / 1.488 GB, free: 256 MB / 0.8542 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.0006697/0.7489, allocations: 353.3 kB / 1.488 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.7491, allocations: 102.8 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.751, allocations: 0.8538 MB / 1.489 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.751, allocations: 9 kB / 1.489 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.801e-06/0.751, allocations: 0 / 1.489 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.7511, allocations: 4.969 kB / 1.489 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.7546, allocations: 2.056 MB / 1.491 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.7546, allocations: 4 kB / 1.491 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.7552, allocations: 96.92 kB / 1.491 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.517e-06/0.7552, allocations: 0 / 1.491 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.7553, allocations: 33.7 kB / 1.491 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.7553, allocations: 4 kB / 1.491 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-06/0.7553, allocations: 0 / 1.491 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.757, allocations: 1.003 MB / 1.492 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.7572, allocations: 176.9 kB / 1.492 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7574, allocations: 25.36 kB / 1.493 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.758, allocations: 61.41 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.7582, allocations: 85.72 kB / 1.493 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.7583, allocations: 43.97 kB / 1.493 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006514/0.7589, allocations: 467 kB / 1.493 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.4e-07/0.7589, allocations: 1.156 kB / 1.493 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001212/0.7602, allocations: 274.9 kB / 1.493 GB, free: 250.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 48 (trimRespondLogic2.uniDel.sampleTrigger,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.u,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic1.sampler.sampleTrigger,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y) * Number of discrete states: 6 (trimRespondLogic.tim.t_next,trimRespondLogic1.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 (95): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.000236/0.7604, allocations: 152.2 kB / 1.494 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.7624, allocations: 0.8952 MB / 1.494 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.7624, allocations: 1.875 kB / 1.494 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.7633, allocations: 401.8 kB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.7643, allocations: 138.7 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.7678, allocations: 2.188 MB / 1.497 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.7684, allocations: 1.119 MB / 1.498 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008844/0.7693, allocations: 148.7 kB / 1.498 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.7696, allocations: 87.91 kB / 1.498 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.684e-06/0.7696, allocations: 1.219 kB / 1.498 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02332/0.7929, allocations: 8.169 MB / 1.506 GB, free: 237.4 MB / 0.8542 GB