Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadModel(Buildings): time 3.986/3.986, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.249e-05/1.256e-05, allocations: 0 / 0.5325 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5354, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.7268, allocations: 124.4 MB / 0.7504 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.7271, allocations: 79.91 kB / 0.7505 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004392/0.7315, allocations: 1.153 MB / 0.7516 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.168e-06/0.7315, allocations: 0 / 0.7516 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.7315, allocations: 4 kB / 0.7516 GB, free: 1.898 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.0005251/0.7321, allocations: 372.2 kB / 0.752 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.7321, allocations: 16.02 kB / 0.752 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.7322, allocations: 3.906 kB / 0.752 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.7324, allocations: 171 kB / 0.7521 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.7324, allocations: 0 / 0.7521 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.7324, allocations: 8 kB / 0.7522 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.114e-05/0.7325, allocations: 12 kB / 0.7522 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.7326, allocations: 49.62 kB / 0.7522 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.203e-06/0.7326, allocations: 0 / 0.7522 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.7327, allocations: 3.984 kB / 0.7522 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.897e-06/0.7327, allocations: 4 kB / 0.7522 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.7331, allocations: 245.4 kB / 0.7525 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.7332, allocations: 42.58 kB / 0.7525 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.7333, allocations: 20.98 kB / 0.7525 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.7333, allocations: 0 / 0.7525 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.7335, allocations: 100.9 kB / 0.7526 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.522e-06/0.7336, allocations: 0 / 0.7526 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000268/0.7338, allocations: 81.69 kB / 0.7527 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.7339, allocations: 81.11 kB / 0.7528 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.734, allocations: 105 kB / 0.7529 GB, free: 424 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.7341, allocations: 29.7 kB / 0.7529 GB, free: 388 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.7341, allocations: 88 kB / 0.753 GB, free: 296 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.7342, allocations: 23.86 kB / 0.753 GB, free: 272 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-06/0.7342, allocations: 3.828 kB / 0.753 GB, free: 272 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.7344, allocations: 318.8 kB / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.7344, allocations: 11.94 kB / 0.7533 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.7345, allocations: 38.58 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.7346, allocations: 16.38 kB / 0.7534 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-06/0.7346, allocations: 0 / 0.7534 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.7348, allocations: 85.7 kB / 0.7535 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.7349, allocations: 37.64 kB / 0.7535 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.241e-06/0.7349, allocations: 3.984 kB / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7349, allocations: 0 / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.42e-05/0.735, allocations: 8.125 kB / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.874e-06/0.735, allocations: 8 kB / 0.7535 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.7351, allocations: 7.906 kB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.7351, allocations: 7.953 kB / 0.7535 GB, free: 15.7 MB / 0.6355 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 () * 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.0001283/0.7352, allocations: 142.6 kB / 0.7537 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.7353, allocations: 4 kB / 0.7537 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.7353, allocations: 8.625 kB / 0.7537 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.7353, allocations: 0 / 0.7537 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7353, allocations: 4 kB / 0.7537 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-06/0.7354, allocations: 0 / 0.7537 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.7359, allocations: 343 kB / 0.754 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-06/0.7359, allocations: 0 / 0.754 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.7359, allocations: 7.984 kB / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.325e-06/0.7359, allocations: 0 / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.736, allocations: 0 / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-06/0.736, allocations: 0 / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-06/0.736, allocations: 0 / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.7363, allocations: 203.3 kB / 0.7542 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.7363, allocations: 81.02 kB / 0.7543 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.7364, allocations: 7.984 kB / 0.7543 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7365, allocations: 8 kB / 0.7543 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.7366, allocations: 7.984 kB / 0.7543 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.7366, allocations: 11.94 kB / 0.7543 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.7367, allocations: 83.27 kB / 0.7544 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.23e-07/0.7367, allocations: 4 kB / 0.7544 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003189/0.737, allocations: 16 kB / 0.7544 GB, free: 14.7 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) * 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.0001292/0.7372, allocations: 104.1 kB / 0.7545 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.7374, allocations: 107.3 kB / 0.7546 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-06/0.7374, allocations: 0 / 0.7546 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.7375, allocations: 91.39 kB / 0.7547 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7378, allocations: 12.06 kB / 0.7547 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.7381, allocations: 99.69 kB / 0.7548 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.7385, allocations: 0.6885 MB / 0.7555 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.7386, allocations: 7.984 kB / 0.7555 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.7386, allocations: 11.44 kB / 0.7555 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of SimCode: time 3.706e-06/0.7386, allocations: 0 / 0.7555 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.003484/0.7421, allocations: 0.7195 MB / 0.7562 GB, free: 12.79 MB / 0.6355 GB