Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.245/2.245, allocations: 252.6 MB / 265.2 MB, free: 5.684 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.001507/0.001506, allocations: 182.1 kB / 324.5 MB, free: 14.36 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.18/2.18, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001101/0.001101, allocations: 98.62 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.554e-05, allocations: 8 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.236, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9125/1.149, allocations: 132 MB / 1.024 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.149, allocations: 70.16 kB / 1.024 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02226/1.171, allocations: 4.372 MB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.994e-06/1.171, allocations: 0 / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.7e-05/1.171, allocations: 12 kB / 1.028 GB, free: 14.65 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002541/1.174, allocations: 0.7038 MB / 1.029 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.174, allocations: 8.031 kB / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/1.174, allocations: 63.94 kB / 1.029 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.174, allocations: 214.5 kB / 1.029 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.175, allocations: 47.39 kB / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.175, allocations: 74.39 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/1.176, allocations: 481.7 kB / 1.03 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.176, allocations: 0 / 1.03 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.176, allocations: 23.77 kB / 1.03 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.176, allocations: 8 kB / 1.03 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/1.177, allocations: 250.2 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/1.181, allocations: 1.132 MB / 1.031 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/1.183, allocations: 0.6554 MB / 1.032 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/1.184, allocations: 323.7 kB / 1.032 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/1.184, allocations: 4.875 kB / 1.032 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/1.186, allocations: 0.7439 MB / 1.033 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 4.558e-06/1.186, allocations: 0 / 1.033 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.005014/1.191, allocations: 1.196 MB / 1.034 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.191, allocations: 97.66 kB / 1.034 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/1.192, allocations: 228.4 kB / 1.034 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.192, allocations: 69.06 kB / 1.034 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/1.192, allocations: 136.9 kB / 1.034 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/1.193, allocations: 208.4 kB / 1.035 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/1.193, allocations: 21.88 kB / 1.035 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.193, allocations: 371 kB / 1.035 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008775/1.194, allocations: 193.8 kB / 1.035 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.195, allocations: 0.5451 MB / 1.036 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/1.196, allocations: 260.8 kB / 1.036 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.196, allocations: 4 kB / 1.036 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002837/1.199, allocations: 0.8254 MB / 1.037 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/1.199, allocations: 15.94 kB / 1.037 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.199, allocations: 12 kB / 1.037 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.647e-05/1.199, allocations: 20 kB / 1.037 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.2, allocations: 126.8 kB / 1.037 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-05/1.2, allocations: 31.86 kB / 1.037 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.201, allocations: 104.4 kB / 1.037 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.202, allocations: 46.94 kB / 1.037 GB, free: 6.848 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($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,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,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.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,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.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0005548/1.202, allocations: 230.4 kB / 1.037 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/1.202, allocations: 71.41 kB / 1.037 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/1.203, allocations: 54.48 kB / 1.037 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.203, allocations: 12 kB / 1.037 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.203, allocations: 3.938 kB / 1.037 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.203, allocations: 15.95 kB / 1.037 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007906/1.211, allocations: 2.246 MB / 1.04 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.211, allocations: 4 kB / 1.04 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/1.211, allocations: 19.8 kB / 1.04 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/1.211, allocations: 7.984 kB / 1.04 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/1.211, allocations: 35.64 kB / 1.04 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/1.211, allocations: 4 kB / 1.04 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.211, allocations: 3.953 kB / 1.04 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/1.216, allocations: 1.402 MB / 1.041 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.216, allocations: 112.5 kB / 1.041 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/1.216, allocations: 42.39 kB / 1.041 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.217, allocations: 80.47 kB / 1.041 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/1.218, allocations: 94.84 kB / 1.041 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.218, allocations: 81.69 kB / 1.042 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002959/1.218, allocations: 159.6 kB / 1.042 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.218, allocations: 0 / 1.042 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001663/1.22, allocations: 203 kB / 1.042 GB, free: 2.785 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,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.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$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.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * 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.0004614/1.22, allocations: 177.1 kB / 1.042 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003154/1.223, allocations: 0.7581 MB / 1.043 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.224, allocations: 6 kB / 1.043 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.226, allocations: 0.6011 MB / 1.043 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/1.226, allocations: 51.33 kB / 1.043 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/1.23, allocations: 0.8152 MB / 1.044 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/1.231, allocations: 0.8422 MB / 1.045 GB, free: 76 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000508/1.231, allocations: 72.84 kB / 1.045 GB, free: 0 / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.232, allocations: 51.05 kB / 1.045 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of SimCode: time 1.163e-06/1.232, allocations: 0 / 1.045 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of Templates: time 0.02838/1.26, allocations: 6.516 MB / 1.051 GB, free: 9.449 MB / 0.6667 GB