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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.037/4.037, allocations: 432.6 MB / 445.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.145e-05, allocations: 3.094 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 98.72 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.5347, allocations: 125.1 MB / 0.7569 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.535, allocations: 71.95 kB / 0.7569 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004843/0.5398, allocations: 1.156 MB / 0.7581 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5399, allocations: 3.938 kB / 0.7581 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5399, allocations: 0 / 0.7581 GB, free: 3.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006031/0.5405, allocations: 388.2 kB / 0.7584 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5406, allocations: 8.031 kB / 0.7584 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.5406, allocations: 34.56 kB / 0.7585 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.5407, allocations: 7.891 kB / 0.7585 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5408, allocations: 167 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5409, allocations: 0 / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.5409, allocations: 8 kB / 0.7586 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.5411, allocations: 53.62 kB / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5411, allocations: 0 / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.5411, allocations: 8 kB / 0.7587 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5411, allocations: 0 / 0.7587 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.5412, allocations: 16 kB / 0.7587 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.5417, allocations: 268.8 kB / 0.759 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5418, allocations: 38.58 kB / 0.759 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.5419, allocations: 32.92 kB / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.542, allocations: 0 / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.5422, allocations: 101.1 kB / 0.7591 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.048e-06/0.5422, allocations: 4 kB / 0.7591 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003137/0.5425, allocations: 119.2 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.5426, allocations: 89.06 kB / 0.7593 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.5427, allocations: 97.31 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5428, allocations: 33.7 kB / 0.7595 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5428, allocations: 92.03 kB / 0.7596 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.5429, allocations: 19.75 kB / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-06/0.5429, allocations: 0 / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.543, allocations: 324.8 kB / 0.7599 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.5431, allocations: 12 kB / 0.7599 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.5432, allocations: 34.58 kB / 0.7599 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.5433, allocations: 57.73 kB / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5433, allocations: 0 / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002691/0.5436, allocations: 123.4 kB / 0.7601 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.5436, allocations: 33.64 kB / 0.7601 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5436, allocations: 0 / 0.7601 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5437, allocations: 4 kB / 0.7601 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.5437, allocations: 0 / 0.7601 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5438, allocations: 11.94 kB / 0.7601 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5439, allocations: 8.062 kB / 0.7602 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.5439, allocations: 4 kB / 0.7602 GB, free: 0.9688 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.0001298/0.544, allocations: 142.7 kB / 0.7603 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5441, allocations: 7.906 kB / 0.7603 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.5441, allocations: 8.625 kB / 0.7603 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5441, allocations: 0 / 0.7603 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5441, allocations: 0 / 0.7603 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.5442, allocations: 7.953 kB / 0.7603 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.5448, allocations: 396.2 kB / 0.7607 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5448, allocations: 0 / 0.7607 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.5448, allocations: 3.938 kB / 0.7607 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5448, allocations: 0 / 0.7607 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.5448, allocations: 11.98 kB / 0.7607 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5449, allocations: 3.953 kB / 0.7607 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5449, allocations: 0 / 0.7607 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.5452, allocations: 229.1 kB / 0.7609 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.5453, allocations: 85 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.5453, allocations: 11.94 kB / 0.761 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5455, allocations: 11.98 kB / 0.761 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.5456, allocations: 11.94 kB / 0.761 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.5456, allocations: 4 kB / 0.761 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.5457, allocations: 83.28 kB / 0.7611 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5457, allocations: 0 / 0.7611 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003021/0.546, allocations: 24 kB / 0.7612 GB, free: 15.83 MB / 0.6511 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.0006649/0.5467, allocations: 0.761 MB / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.547, allocations: 119.3 kB / 0.762 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.547, allocations: 0 / 0.762 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5471, allocations: 87.53 kB / 0.7621 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5474, allocations: 22.44 kB / 0.7621 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.548, allocations: 130.3 kB / 0.7622 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.5483, allocations: 0.6887 MB / 0.7629 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.5483, allocations: 4 kB / 0.7629 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.5484, allocations: 15.44 kB / 0.7629 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.5484, allocations: 0 / 0.7629 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.573, allocations: 1.606 MB / 0.7645 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/0.5733, allocations: 156.9 kB / 0.7646 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.137, allocations: 0 / 0.7646 GB, free: 12.13 MB / 0.6511 GB