Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006631/0.006636, allocations: 228.8 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001847/0.001846, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.551/3.551, allocations: 389.1 MB / 406.5 MB, free: 6.809 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.439/4.439, allocations: 472.3 MB / 0.9024 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004924, allocations: 12 kB / 1.008 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2141, allocations: 98.7 MB / 1.105 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7804/0.9946, allocations: 125.1 MB / 1.227 GB, free: 199.1 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.9949, allocations: 76.23 kB / 1.227 GB, free: 199.1 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.01985/1.015, allocations: 4.374 MB / 1.231 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.198e-06/1.015, allocations: 1.734 kB / 1.231 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.37e-05/1.015, allocations: 4 kB / 1.231 GB, free: 196.7 MB / 0.7917 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.002386/1.017, allocations: 0.7393 MB / 1.232 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.017, allocations: 12.03 kB / 1.232 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/1.017, allocations: 63.78 kB / 1.232 GB, free: 196 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/1.018, allocations: 212.4 kB / 1.232 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/1.018, allocations: 45.88 kB / 1.232 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.018, allocations: 79.3 kB / 1.232 GB, free: 195.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/1.019, allocations: 493.2 kB / 1.233 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.019, allocations: 0 / 1.233 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/1.02, allocations: 24.52 kB / 1.233 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.02, allocations: 9.219 kB / 1.233 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/1.021, allocations: 259 kB / 1.233 GB, free: 195.3 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/1.024, allocations: 1.138 MB / 1.234 GB, free: 194.7 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/1.026, allocations: 0.6685 MB / 1.235 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/1.027, allocations: 338.6 kB / 1.235 GB, free: 194.1 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/1.027, allocations: 17.95 kB / 1.235 GB, free: 194.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/1.028, allocations: 0.7561 MB / 1.236 GB, free: 193.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=100): time 3.867e-06/1.029, allocations: 0 / 1.236 GB, free: 193.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=100): time 0.004428/1.033, allocations: 1.571 MB / 1.237 GB, free: 192.8 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/1.033, allocations: 99.03 kB / 1.238 GB, free: 192.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/1.033, allocations: 268.6 kB / 1.238 GB, free: 192.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.034, allocations: 62.69 kB / 1.238 GB, free: 192.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.034, allocations: 147 kB / 1.238 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/1.034, allocations: 202.3 kB / 1.238 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/1.034, allocations: 24.5 kB / 1.238 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.034, allocations: 363.8 kB / 1.239 GB, free: 191.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/1.035, allocations: 208.5 kB / 1.239 GB, free: 191.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/1.036, allocations: 0.5663 MB / 1.239 GB, free: 191 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/1.037, allocations: 271.2 kB / 1.24 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/1.037, allocations: 4 kB / 1.24 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002173/1.039, allocations: 0.8482 MB / 1.24 GB, free: 190.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.039, allocations: 12 kB / 1.24 GB, free: 190.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.039, allocations: 12 kB / 1.24 GB, free: 190.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/1.039, allocations: 20 kB / 1.24 GB, free: 190.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/1.04, allocations: 133.6 kB / 1.241 GB, free: 190.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/1.04, allocations: 25.72 kB / 1.241 GB, free: 190 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/1.041, allocations: 103.8 kB / 1.241 GB, free: 190 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/1.041, allocations: 46.88 kB / 1.241 GB, free: 189.9 MB / 0.7917 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.0005102/1.041, allocations: 262.3 kB / 1.241 GB, free: 189.7 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/1.041, allocations: 71.38 kB / 1.241 GB, free: 189.6 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/1.041, allocations: 48.67 kB / 1.241 GB, free: 189.6 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/1.041, allocations: 12.59 kB / 1.241 GB, free: 189.6 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.041, allocations: 3.375 kB / 1.241 GB, free: 189.6 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.042, allocations: 3.984 kB / 1.241 GB, free: 189.6 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/1.047, allocations: 2.286 MB / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.047, allocations: 0 / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.047, allocations: 27.17 kB / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/1.047, allocations: 6.203 kB / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.047, allocations: 38.08 kB / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.047, allocations: 9.891 kB / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.047, allocations: 0 / 1.243 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/1.05, allocations: 1.428 MB / 1.245 GB, free: 186.6 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.05, allocations: 120.5 kB / 1.245 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.05, allocations: 40.02 kB / 1.245 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/1.051, allocations: 76.66 kB / 1.245 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/1.051, allocations: 103.4 kB / 1.245 GB, free: 186.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.051, allocations: 79.33 kB / 1.245 GB, free: 186.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001816/1.052, allocations: 161 kB / 1.245 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.3e-07/1.052, allocations: 0 / 1.245 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001011/1.053, allocations: 202.4 kB / 1.246 GB, free: 185.9 MB / 0.7917 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.0002799/1.053, allocations: 183.4 kB / 1.246 GB, free: 185.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002256/1.055, allocations: 0.7934 MB / 1.247 GB, free: 185.2 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.055, allocations: 0 / 1.247 GB, free: 185.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.057, allocations: 0.6202 MB / 1.247 GB, free: 184.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008353/1.058, allocations: 87.27 kB / 1.247 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/1.06, allocations: 1.092 MB / 1.248 GB, free: 183.7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/1.061, allocations: 0.8359 MB / 1.249 GB, free: 182.9 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003495/1.061, allocations: 72.77 kB / 1.249 GB, free: 182.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/1.061, allocations: 56.19 kB / 1.249 GB, free: 182.8 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/1.061, allocations: 0 / 1.249 GB, free: 182.8 MB / 0.7917 GB Notification: Performance of Templates: time 0.01933/1.081, allocations: 6.526 MB / 1.256 GB, free: 176.5 MB / 0.7917 GB