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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.069/4.069, allocations: 433.4 MB / 440.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.769e-05, allocations: 11.94 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5334, allocations: 98.71 MB / 0.6289 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.7531, allocations: 124.4 MB / 0.7504 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003963/0.7535, allocations: 75.95 kB / 0.7505 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0334/0.787, allocations: 4.329 MB / 0.7547 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.203e-06/0.787, allocations: 0 / 0.7547 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.7871, allocations: 8 kB / 0.7547 GB, free: 14.8 MB / 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.003209/0.7903, allocations: 0.708 MB / 0.7554 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.7904, allocations: 12.02 kB / 0.7554 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.7907, allocations: 67.81 kB / 0.7555 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.7911, allocations: 210.6 kB / 0.7557 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.7912, allocations: 31.95 kB / 0.7557 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.7915, allocations: 67.95 kB / 0.7558 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001135/0.7927, allocations: 205.1 kB / 0.756 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.7945, allocations: 426.1 kB / 0.7564 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.7946, allocations: 3.938 kB / 0.7564 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.7947, allocations: 19.95 kB / 0.7564 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.7947, allocations: 4 kB / 0.7564 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006143/0.8009, allocations: 1.072 MB / 0.7574 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/0.8048, allocations: 0.5795 MB / 0.758 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.8068, allocations: 289.6 kB / 0.7583 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.8069, allocations: 4 kB / 0.7583 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004108/0.8111, allocations: 0.6929 MB / 0.759 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=100): time 1.112e-05/0.8111, allocations: 0 / 0.759 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100): time 0.003869/0.815, allocations: 1.091 MB / 0.76 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.8152, allocations: 97.92 kB / 0.7601 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.8155, allocations: 225.8 kB / 0.7603 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.8156, allocations: 45.69 kB / 0.7604 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.8158, allocations: 134.2 kB / 0.7605 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.816, allocations: 197.5 kB / 0.7607 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.8161, allocations: 0 / 0.7607 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.8163, allocations: 362.8 kB / 0.761 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.8169, allocations: 174.6 kB / 0.7612 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.8177, allocations: 0.5229 MB / 0.7617 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.8183, allocations: 222.5 kB / 0.7619 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.8183, allocations: 7.984 kB / 0.7619 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.0017/0.82, allocations: 0.7011 MB / 0.7626 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.82, allocations: 12.19 kB / 0.7626 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.8201, allocations: 16 kB / 0.7626 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/0.8201, allocations: 23.95 kB / 0.7627 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.8207, allocations: 127.6 kB / 0.7628 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.8207, allocations: 23.92 kB / 0.7628 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.8214, allocations: 79.5 kB / 0.7629 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/0.8215, allocations: 48 kB / 0.7629 GB, free: 5.953 MB / 0.6355 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.000381/0.8219, allocations: 201.1 kB / 0.7631 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8221, allocations: 71.42 kB / 0.7632 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.8223, allocations: 39.39 kB / 0.7632 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.8223, allocations: 15.95 kB / 0.7632 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8223, allocations: 0 / 0.7632 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.8223, allocations: 3.984 kB / 0.7633 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004554/0.8269, allocations: 2.093 MB / 0.7653 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.669e-06/0.827, allocations: 0 / 0.7653 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.827, allocations: 27.86 kB / 0.7653 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.8271, allocations: 8 kB / 0.7653 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.8272, allocations: 27.94 kB / 0.7654 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.8272, allocations: 8 kB / 0.7654 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.395e-06/0.8272, allocations: 0 / 0.7654 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.8299, allocations: 1.313 MB / 0.7666 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.83, allocations: 112.5 kB / 0.7668 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.8302, allocations: 31.95 kB / 0.7668 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.8308, allocations: 67.89 kB / 0.7668 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.8311, allocations: 96.67 kB / 0.7669 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.8312, allocations: 83.88 kB / 0.767 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001965/0.8314, allocations: 158 kB / 0.7672 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.48e-07/0.8314, allocations: 0 / 0.7672 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000976/0.8324, allocations: 164 kB / 0.7673 GB, free: 1.332 MB / 0.6355 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.0003194/0.8328, allocations: 176.6 kB / 0.7675 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.8345, allocations: 0.6799 MB / 0.7682 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.355e-06/0.8345, allocations: 0 / 0.7682 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.8356, allocations: 0.554 MB / 0.7687 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.8362, allocations: 45.14 kB / 0.7687 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.8384, allocations: 0.7597 MB / 0.7695 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.839, allocations: 0.8384 MB / 0.7703 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.8393, allocations: 68.91 kB / 0.7704 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.8395, allocations: 55.42 kB / 0.7704 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.646e-06/0.8395, allocations: 0 / 0.7704 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.01811/0.8576, allocations: 6.205 MB / 0.7765 GB, free: 7.902 MB / 0.6511 GB