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.15/2.15, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 182.7 kB / 325.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.508/2.508, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.0011/0.0011, allocations: 103 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 12.16 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.4294, allocations: 132.1 MB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4297, allocations: 71.95 kB / 1.028 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02202/0.4517, allocations: 4.377 MB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.454e-06/0.4518, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.4518, allocations: 4 kB / 1.032 GB, free: 9.184 MB / 0.6823 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.002823/0.4547, allocations: 0.7466 MB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4547, allocations: 15.97 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.455, allocations: 59.95 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.4553, allocations: 214.6 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.4554, allocations: 48.52 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.4556, allocations: 75.95 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.4572, allocations: 483.1 kB / 1.034 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4573, allocations: 4 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.4574, allocations: 35.88 kB / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4574, allocations: 4 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.4585, allocations: 253.2 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.4622, allocations: 1.13 MB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.4645, allocations: 0.679 MB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4646, allocations: 11.98 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/0.4668, allocations: 0.7529 MB / 1.037 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.997e-06/0.4668, allocations: 0 / 1.037 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.005096/0.4719, allocations: 1.574 MB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.472, allocations: 89.98 kB / 1.038 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.4724, allocations: 245.4 kB / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4726, allocations: 65.64 kB / 1.039 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4727, allocations: 142.1 kB / 1.039 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.473, allocations: 209.5 kB / 1.039 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.4731, allocations: 20 kB / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4733, allocations: 362.8 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008468/0.4742, allocations: 214.5 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.4754, allocations: 0.5624 MB / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/0.4764, allocations: 270.5 kB / 1.04 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.4764, allocations: 4 kB / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002688/0.4791, allocations: 0.8454 MB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.4792, allocations: 10.03 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.4792, allocations: 15.95 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.621e-05/0.4793, allocations: 20 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/0.4801, allocations: 127.6 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.914e-05/0.4802, allocations: 23.94 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.4811, allocations: 99.83 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4812, allocations: 52 kB / 1.041 GB, free: 15.37 MB / 0.698 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 () * Number of clocked 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.0005703/0.4818, allocations: 254 kB / 1.042 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.482, allocations: 79.31 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.4821, allocations: 47.61 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.4822, allocations: 11.95 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4822, allocations: 0 / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.4822, allocations: 7.984 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/0.4883, allocations: 2.291 MB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.4884, allocations: 0 / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4885, allocations: 31.84 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.4885, allocations: 4 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.4887, allocations: 35.95 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.4887, allocations: 4 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4887, allocations: 4 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/0.4925, allocations: 1.438 MB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4927, allocations: 116.5 kB / 1.046 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4929, allocations: 35.95 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.4937, allocations: 83.84 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.494, allocations: 104.7 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.4942, allocations: 75.95 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000257/0.4944, allocations: 158 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4944, allocations: 0 / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001058/0.4955, allocations: 204 kB / 1.046 GB, free: 10.27 MB / 0.698 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) * Number of clocked states: 0 () * 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.0003306/0.4959, allocations: 179.3 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0028/0.4987, allocations: 0.7884 MB / 1.047 GB, free: 9.289 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.4987, allocations: 0 / 1.047 GB, free: 9.289 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.5005, allocations: 0.6218 MB / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.5012, allocations: 56.33 kB / 1.048 GB, free: 8.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.5046, allocations: 1.085 MB / 1.049 GB, free: 7.504 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.5051, allocations: 0.8349 MB / 1.05 GB, free: 6.641 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004094/0.5055, allocations: 72.91 kB / 1.05 GB, free: 6.566 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5058, allocations: 55.42 kB / 1.05 GB, free: 6.512 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.5058, allocations: 0 / 1.05 GB, free: 6.512 MB / 0.698 GB Notification: Performance of Templates: time 0.02118/0.527, allocations: 6.509 MB / 1.056 GB, free: 4 kB / 0.698 GB