Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadModel(Buildings): time 4.244/4.244, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.107e-05, allocations: 5.219 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1743, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/0.4149, allocations: 125 MB / 0.7568 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4152, allocations: 71.95 kB / 0.7569 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.4448, allocations: 4.373 MB / 0.7612 GB, free: 276 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.169e-06/0.4449, allocations: 4 kB / 0.7612 GB, free: 272 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.35e-05/0.4449, allocations: 8 kB / 0.7612 GB, free: 264 kB / 0.6355 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.003541/0.4485, allocations: 0.6952 MB / 0.7619 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.4486, allocations: 15.97 kB / 0.7619 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.4489, allocations: 63.94 kB / 0.7619 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.4493, allocations: 218.6 kB / 0.7622 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.4495, allocations: 48.45 kB / 0.7622 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.4498, allocations: 79.95 kB / 0.7623 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.4519, allocations: 475.2 kB / 0.7627 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.4519, allocations: 0 / 0.7627 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.4521, allocations: 31.89 kB / 0.7628 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4521, allocations: 4 kB / 0.7628 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.4535, allocations: 248.4 kB / 0.763 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.4585, allocations: 1.13 MB / 0.7641 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.4614, allocations: 0.6415 MB / 0.7647 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.4629, allocations: 321 kB / 0.765 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.4629, allocations: 11.94 kB / 0.765 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002935/0.4659, allocations: 0.7413 MB / 0.7658 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 8.46e-06/0.466, allocations: 3.938 kB / 0.7658 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.005335/0.4713, allocations: 1.189 MB / 0.7669 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4715, allocations: 89.98 kB / 0.767 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.4721, allocations: 242.6 kB / 0.7673 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.4723, allocations: 65.69 kB / 0.7673 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.4724, allocations: 142.2 kB / 0.7675 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.4727, allocations: 205.5 kB / 0.7676 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.4728, allocations: 27.94 kB / 0.7677 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.473, allocations: 370.7 kB / 0.768 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.4736, allocations: 194.6 kB / 0.7682 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/0.4745, allocations: 0.5547 MB / 0.7688 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.4752, allocations: 250.5 kB / 0.769 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.4752, allocations: 4 kB / 0.769 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002019/0.4772, allocations: 0.821 MB / 0.7698 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.4773, allocations: 17.98 kB / 0.7698 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.4773, allocations: 15.98 kB / 0.7698 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-05/0.4774, allocations: 20.81 kB / 0.7699 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.4779, allocations: 127.6 kB / 0.77 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/0.478, allocations: 27.92 kB / 0.77 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.4787, allocations: 95.55 kB / 0.7701 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4788, allocations: 52 kB / 0.7701 GB, free: 6.68 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.0004146/0.4793, allocations: 237 kB / 0.7704 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.4795, allocations: 71.41 kB / 0.7704 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.4796, allocations: 51.36 kB / 0.7705 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4796, allocations: 12 kB / 0.7705 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4796, allocations: 4 kB / 0.7705 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4797, allocations: 3.984 kB / 0.7705 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/0.4846, allocations: 2.256 MB / 0.7727 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.998e-06/0.4847, allocations: 0 / 0.7727 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.4848, allocations: 27.86 kB / 0.7727 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.4848, allocations: 7.938 kB / 0.7727 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.4849, allocations: 39.94 kB / 0.7728 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.4849, allocations: 4 kB / 0.7728 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.707e-06/0.4849, allocations: 7.953 kB / 0.7728 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.4878, allocations: 1.391 MB / 0.7741 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.488, allocations: 120.5 kB / 0.7743 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.4882, allocations: 35.95 kB / 0.7743 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.4888, allocations: 83.84 kB / 0.7744 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.4891, allocations: 104.7 kB / 0.7745 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.4892, allocations: 79.94 kB / 0.7746 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002228/0.4895, allocations: 159.1 kB / 0.7747 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.36e-07/0.4895, allocations: 0 / 0.7747 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009882/0.4905, allocations: 204 kB / 0.7749 GB, free: 1.66 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.0003125/0.4908, allocations: 177.1 kB / 0.7751 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.4928, allocations: 0.7705 MB / 0.7758 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.732e-06/0.4929, allocations: 0 / 0.7758 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4941, allocations: 0.6024 MB / 0.7764 GB, free: 116 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.4947, allocations: 52.95 kB / 0.7765 GB, free: 64 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4385/0.9332, allocations: 0.809 MB / 0.7773 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.9336, allocations: 0.8342 MB / 0.7781 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003374/0.934, allocations: 73.09 kB / 0.7781 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.9342, allocations: 51.3 kB / 0.7782 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.658e-06/0.9342, allocations: 4.781 kB / 0.7782 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.02071/0.9549, allocations: 6.507 MB / 0.7845 GB, free: 139.1 MB / 0.6511 GB