Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.868/4.868, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 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.002546/0.002546, allocations: 353.6 kB / 0.6446 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.23/4.23, allocations: 410.7 MB / 1.113 GB, free: 5.879 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.001833/0.001861, allocations: 190.7 kB / 1.226 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 12 kB / 1.349 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7282, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.9301, allocations: 138.5 MB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.9304, allocations: 71.95 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02811/0.9585, allocations: 6.125 MB / 1.603 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9586, allocations: 0 / 1.603 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.9586, allocations: 8 kB / 1.603 GB, free: 139.6 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002379/0.961, allocations: 0.7809 MB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.323e-05/0.9611, allocations: 15.62 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.9614, allocations: 71.5 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.9615, allocations: 208.4 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.9617, allocations: 50.58 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.9619, allocations: 91.94 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.9633, allocations: 477.5 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.9633, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.9634, allocations: 28.7 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.9634, allocations: 4 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.9643, allocations: 259.5 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.9672, allocations: 1.09 MB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.9692, allocations: 0.6726 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.9703, allocations: 335.7 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.9703, allocations: 5.5 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/0.9721, allocations: 0.7756 MB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=102): time 3.807e-06/0.9722, allocations: 0.9375 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=102): time 0.004598/0.9768, allocations: 1.601 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.9769, allocations: 94.59 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.9773, allocations: 271.2 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.9775, allocations: 69.7 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.9777, allocations: 142.5 kB / 1.61 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.9779, allocations: 214.5 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.978, allocations: 28 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.9781, allocations: 369.8 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.979, allocations: 254.5 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.9801, allocations: 0.6196 MB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.9812, allocations: 366.3 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.9812, allocations: 5.625 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002709/0.9839, allocations: 1.03 MB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/0.9841, allocations: 76.42 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.9841, allocations: 12 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/0.9841, allocations: 20 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.9849, allocations: 128.5 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/0.9849, allocations: 35.8 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.9862, allocations: 153.8 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.9864, allocations: 59.98 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$PRE.onDelay0.t_next,$whenCondition47,$PRE.onDelay1.t_next,$whenCondition44,$PRE.onDelay2.t_next,$whenCondition41,$PRE.onDelay4.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay6.t_next,$whenCondition32,$PRE.onDelay3.t_next,$whenCondition29,$PRE.onDelay7.t_next,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,$whenCondition51,$whenCondition52,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.y,booPul.y,$whenCondition24,$PRE.onDelay00.t_next,$whenCondition21,$PRE.onDelay11.t_next,$whenCondition18,$PRE.onDelay22.t_next,$whenCondition15,$PRE.onDelay44.t_next,$whenCondition12,$PRE.onDelay55.t_next,$whenCondition9,$PRE.onDelay66.t_next,$whenCondition6,$PRE.onDelay33.t_next,$whenCondition3,$PRE.onDelay77.t_next,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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.0005266/0.9869, allocations: 273.5 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.9871, allocations: 68.67 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.9872, allocations: 47.61 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.9872, allocations: 12 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.9873, allocations: 1.156 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.9873, allocations: 7.938 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/0.9923, allocations: 2.187 MB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.9923, allocations: 0 / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.9924, allocations: 27.86 kB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.9925, allocations: 4 kB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.9926, allocations: 39.94 kB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.9926, allocations: 4 kB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9926, allocations: 0 / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.9959, allocations: 1.447 MB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.996, allocations: 120.4 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.9962, allocations: 39.95 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.9969, allocations: 63.44 kB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.9971, allocations: 96.72 kB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.9973, allocations: 75.95 kB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001761/0.9975, allocations: 158 kB / 1.617 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9975, allocations: 4 kB / 1.617 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001101/0.9986, allocations: 227.9 kB / 1.618 GB, free: 123.9 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: 102 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay77.u,onDelay66.u,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.y,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay7.u,onDelay6.u,$whenCondition50,$whenCondition51,$whenCondition52,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.y) * Number of discrete states: 16 (onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0003347/0.999, allocations: 185.6 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002703/1.002, allocations: 1.003 MB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.002, allocations: 3.938 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.003, allocations: 0.6374 MB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/1.004, allocations: 94.84 kB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/1.007, allocations: 1.067 MB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/1.007, allocations: 0.8374 MB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000343/1.007, allocations: 71.81 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/1.008, allocations: 55.42 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/1.008, allocations: 1.062 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02026/1.028, allocations: 7.437 MB / 1.629 GB, free: 112.7 MB / 0.8542 GB