Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006603/0.00661, allocations: 232 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.001972/0.001972, allocations: 177.5 kB / 16.71 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.939/3.939, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.121/4.121, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006723/0.0006726, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1766, allocations: 98.72 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/0.9829, allocations: 125.2 MB / 1.227 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.9833, allocations: 72.77 kB / 1.227 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004718/0.988, allocations: 1.164 MB / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9881, allocations: 0 / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.9881, allocations: 0 / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005262/0.9886, allocations: 392.2 kB / 1.228 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.9887, allocations: 8.031 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.9887, allocations: 8.062 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.9888, allocations: 171.5 kB / 1.229 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.9889, allocations: 2.484 kB / 1.229 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.9889, allocations: 4 kB / 1.229 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.989, allocations: 56.48 kB / 1.229 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9891, allocations: 0 / 1.229 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.9891, allocations: 6.25 kB / 1.229 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9891, allocations: 2.859 kB / 1.229 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.9892, allocations: 17.59 kB / 1.229 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.9896, allocations: 272.4 kB / 1.229 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.9897, allocations: 44.48 kB / 1.229 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.9898, allocations: 21.12 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.9898, allocations: 4 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.99, allocations: 97.78 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.99, allocations: 0 / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003569/0.9904, allocations: 142.1 kB / 1.229 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.9904, allocations: 86.05 kB / 1.229 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.9906, allocations: 112.3 kB / 1.229 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.9906, allocations: 32.83 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.9906, allocations: 85.52 kB / 1.23 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.9907, allocations: 19.56 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-06/0.9907, allocations: 3.812 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.9908, allocations: 320.5 kB / 1.23 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.9909, allocations: 17.19 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.9909, allocations: 39.41 kB / 1.23 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.991, allocations: 46 kB / 1.23 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.991, allocations: 0 / 1.23 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001961/0.9912, allocations: 129.4 kB / 1.23 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.9913, allocations: 34.05 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9913, allocations: 0.75 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9913, allocations: 4 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.9914, allocations: 8.641 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.9914, allocations: 3.953 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.9915, allocations: 9.906 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.9915, allocations: 4 kB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001187/0.9917, allocations: 160.1 kB / 1.23 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.9917, allocations: 8.516 kB / 1.23 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.9917, allocations: 5.688 kB / 1.23 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9918, allocations: 4 kB / 1.23 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9918, allocations: 0 / 1.23 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.9918, allocations: 5.344 kB / 1.23 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.9923, allocations: 403.6 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.9923, allocations: 0.75 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.9923, allocations: 0 / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.9923, allocations: 0.6562 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.9923, allocations: 4.984 kB / 1.231 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.9923, allocations: 3.953 kB / 1.231 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9924, allocations: 1.188 kB / 1.231 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.9926, allocations: 232.3 kB / 1.231 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.9927, allocations: 81.02 kB / 1.231 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.9927, allocations: 9.359 kB / 1.231 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.9929, allocations: 11.42 kB / 1.231 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.9929, allocations: 7 kB / 1.231 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.993, allocations: 9.766 kB / 1.231 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000575/0.9936, allocations: 91.22 kB / 1.231 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9936, allocations: 0 / 1.231 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003329/0.9939, allocations: 15.62 kB / 1.231 GB, free: 40.03 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001174/0.994, allocations: 100.7 kB / 1.231 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.9943, allocations: 120.3 kB / 1.231 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9943, allocations: 1.312 kB / 1.231 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.9944, allocations: 89.38 kB / 1.231 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.9948, allocations: 19.02 kB / 1.232 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.9953, allocations: 160 kB / 1.232 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9956, allocations: 0.6925 MB / 1.232 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.9956, allocations: 5.312 kB / 1.232 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.9956, allocations: 11.97 kB / 1.232 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.9957, allocations: 3.375 kB / 1.232 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.004101/0.9998, allocations: 0.7389 MB / 1.233 GB, free: 38.48 MB / 0.6355 GB