Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01012/0.01012, allocations: 89.08 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001173/0.001174, allocations: 171.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.232/2.232, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.495/2.495, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005346, allocations: 10.16 kB / 0.6243 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2618, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002145/0.264, allocations: 1.136 MB / 0.7292 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2651, allocations: 452.9 kB / 0.7296 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.2652, allocations: 4 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.2652, allocations: 7.938 kB / 0.7296 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2653, allocations: 11.97 kB / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2655, allocations: 11.94 kB / 0.7296 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2657, allocations: 35.89 kB / 0.7297 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2658, allocations: 7.984 kB / 0.7297 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.2659, allocations: 11.94 kB / 0.7297 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.266, allocations: 19.92 kB / 0.7297 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.266, allocations: 0 / 0.7297 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.266, allocations: 4 kB / 0.7297 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.2661, allocations: 11.98 kB / 0.7297 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.2661, allocations: 29.7 kB / 0.7297 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.966e-05/0.2662, allocations: 31.94 kB / 0.7298 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2662, allocations: 0 / 0.7298 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2662, allocations: 0 / 0.7298 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2663, allocations: 0 / 0.7298 GB, free: 8.363 MB / 0.5573 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.0007664/0.267, allocations: 393.2 kB / 0.7302 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.2671, allocations: 12.03 kB / 0.7302 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.2671, allocations: 30.56 kB / 0.7302 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.2672, allocations: 7.953 kB / 0.7302 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2674, allocations: 174.9 kB / 0.7304 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2674, allocations: 4 kB / 0.7304 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2674, allocations: 4 kB / 0.7304 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2676, allocations: 45.69 kB / 0.7304 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2676, allocations: 4 kB / 0.7304 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2676, allocations: 4 kB / 0.7304 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2677, allocations: 0 / 0.7304 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.2678, allocations: 23.88 kB / 0.7305 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.2683, allocations: 276.9 kB / 0.7307 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.2684, allocations: 38.56 kB / 0.7308 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2685, allocations: 0 / 0.7308 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.2687, allocations: 113.1 kB / 0.7309 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.2688, allocations: 0 / 0.7309 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0004846/0.2692, allocations: 220.3 kB / 0.7311 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.2693, allocations: 89.05 kB / 0.7312 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2695, allocations: 105.8 kB / 0.7313 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2695, allocations: 25.7 kB / 0.7313 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.2696, allocations: 88.14 kB / 0.7314 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.2697, allocations: 27.8 kB / 0.7314 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.2697, allocations: 4 kB / 0.7314 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2698, allocations: 314.8 kB / 0.7317 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.2699, allocations: 15.98 kB / 0.7317 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.27, allocations: 38.56 kB / 0.7317 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.2701, allocations: 45.7 kB / 0.7318 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2701, allocations: 0 / 0.7318 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002532/0.2704, allocations: 123.2 kB / 0.7319 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.2704, allocations: 33.7 kB / 0.7319 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2705, allocations: 0 / 0.7319 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2705, allocations: 7.938 kB / 0.7319 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.2706, allocations: 11.92 kB / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2706, allocations: 4 kB / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2707, allocations: 11.94 kB / 0.732 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2707, allocations: 4 kB / 0.732 GB, free: 5.812 MB / 0.5573 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.pulseStart,booleanPulse.pulseStart) * 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.0001631/0.2709, allocations: 151.6 kB / 0.7321 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.2709, allocations: 7.906 kB / 0.7321 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.271, allocations: 8.375 kB / 0.7321 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.271, allocations: 0 / 0.7321 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.271, allocations: 7.953 kB / 0.7321 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.271, allocations: 0 / 0.7321 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.2717, allocations: 396.2 kB / 0.7325 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2717, allocations: 4.375 kB / 0.7325 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.2717, allocations: 4 kB / 0.7325 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2717, allocations: 0 / 0.7325 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2718, allocations: 3.953 kB / 0.7325 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2718, allocations: 7.938 kB / 0.7325 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2718, allocations: 0 / 0.7325 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2721, allocations: 229.1 kB / 0.7328 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.2722, allocations: 85.02 kB / 0.7328 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.2722, allocations: 0 / 0.7328 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2724, allocations: 19.94 kB / 0.7329 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.2725, allocations: 7.984 kB / 0.7329 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.2725, allocations: 11.94 kB / 0.7329 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001016/0.2727, allocations: 87.27 kB / 0.733 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2727, allocations: 0 / 0.733 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003733/0.2731, allocations: 16 kB / 0.733 GB, free: 4.668 MB / 0.5573 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.pulseStart) * 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.0007379/0.2738, allocations: 0.7649 MB / 0.7337 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.2741, allocations: 115.3 kB / 0.7338 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2741, allocations: 0 / 0.7338 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.2743, allocations: 95.33 kB / 0.7339 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2746, allocations: 11.95 kB / 0.7339 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2759, allocations: 0.7888 MB / 0.7347 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.2763, allocations: 0.6915 MB / 0.7354 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.2763, allocations: 4.188 kB / 0.7354 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.2764, allocations: 15.44 kB / 0.7354 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/0.2764, allocations: 3.938 kB / 0.7354 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3007, allocations: 1.585 MB / 0.737 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003322/0.3011, allocations: 185.7 kB / 0.7371 GB, free: 336 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/2.93, allocations: 0 / 0.7371 GB, free: 336 kB / 0.5573 GB