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.01827/0.01828, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001874/0.001874, allocations: 176 kB / 16.06 MB, free: 5.832 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.844/3.844, allocations: 389.1 MB / 405.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.171/4.171, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 16 kB / 1.008 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5457, allocations: 98.71 MB / 1.104 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002117/0.5479, allocations: 1.137 MB / 1.105 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.549, allocations: 437.7 kB / 1.106 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.5491, allocations: 0 / 1.106 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.5492, allocations: 4.594 kB / 1.106 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.5493, allocations: 9.516 kB / 1.106 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.5495, allocations: 15.97 kB / 1.106 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.5496, allocations: 43.86 kB / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.5497, allocations: 12 kB / 1.106 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.5498, allocations: 12.92 kB / 1.106 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.5499, allocations: 19.92 kB / 1.106 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.5499, allocations: 0.5938 kB / 1.106 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.834e-05/0.55, allocations: 7.938 kB / 1.106 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.55, allocations: 9.359 kB / 1.106 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.5501, allocations: 29.7 kB / 1.106 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.5502, allocations: 27.94 kB / 1.106 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.791e-06/0.5502, allocations: 0 / 1.106 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.667e-06/0.5502, allocations: 9.5 kB / 1.106 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5502, allocations: 0 / 1.106 GB, free: 8.949 MB / 0.5105 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.0006455/0.5509, allocations: 389.1 kB / 1.106 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.551, allocations: 12.03 kB / 1.106 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.551, allocations: 3.953 kB / 1.106 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5512, allocations: 170.9 kB / 1.106 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.5512, allocations: 8.625 kB / 1.106 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5513, allocations: 0 / 1.106 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.5515, allocations: 50.92 kB / 1.106 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5515, allocations: 0 / 1.106 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.5515, allocations: 4 kB / 1.106 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5515, allocations: 1.438 kB / 1.106 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.5517, allocations: 19.98 kB / 1.106 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.5522, allocations: 274 kB / 1.107 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.5524, allocations: 43.19 kB / 1.107 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.5525, allocations: 25.94 kB / 1.107 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.5525, allocations: 0 / 1.107 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.5528, allocations: 102.9 kB / 1.107 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 4.207e-06/0.5528, allocations: 0 / 1.107 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0004322/0.5533, allocations: 143.2 kB / 1.107 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.5533, allocations: 85.72 kB / 1.107 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.5535, allocations: 117.4 kB / 1.107 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5535, allocations: 25.7 kB / 1.107 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.5536, allocations: 92.08 kB / 1.107 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.5536, allocations: 15.8 kB / 1.107 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.5537, allocations: 4 kB / 1.107 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.5537, allocations: 318.8 kB / 1.108 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.5538, allocations: 12 kB / 1.108 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.5539, allocations: 39.12 kB / 1.108 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.442e-05/0.554, allocations: 47.3 kB / 1.108 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5541, allocations: 0.5625 kB / 1.108 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003041/0.5544, allocations: 124.2 kB / 1.108 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.5545, allocations: 33.7 kB / 1.108 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.021e-06/0.5545, allocations: 8.812 kB / 1.108 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.5545, allocations: 3.953 kB / 1.108 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.5546, allocations: 4.75 kB / 1.108 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5546, allocations: 3.938 kB / 1.108 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.5548, allocations: 16.92 kB / 1.108 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.5548, allocations: 4 kB / 1.108 GB, free: 6.539 MB / 0.5105 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.0001328/0.555, allocations: 144.7 kB / 1.108 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.555, allocations: 12.48 kB / 1.108 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.5551, allocations: 8.375 kB / 1.108 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.384e-06/0.5551, allocations: 0.5312 kB / 1.108 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5551, allocations: 4.641 kB / 1.108 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.5552, allocations: 4 kB / 1.108 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.5559, allocations: 397.7 kB / 1.108 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-06/0.5559, allocations: 64 / 1.108 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.5559, allocations: 8 kB / 1.108 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.556, allocations: 2.188 kB / 1.108 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.556, allocations: 7.938 kB / 1.108 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.556, allocations: 4 kB / 1.108 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.374e-06/0.556, allocations: 0 / 1.108 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.5564, allocations: 230.2 kB / 1.109 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.5565, allocations: 85.02 kB / 1.109 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.5565, allocations: 1.969 kB / 1.109 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.5568, allocations: 15.94 kB / 1.109 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.5568, allocations: 7.984 kB / 1.109 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.5569, allocations: 8.531 kB / 1.109 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.557, allocations: 80.72 kB / 1.109 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.46e-07/0.557, allocations: 4 kB / 1.109 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005773/0.5576, allocations: 16 kB / 1.109 GB, free: 5.402 MB / 0.5105 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.0001459/0.5577, allocations: 107.9 kB / 1.109 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.5581, allocations: 119.4 kB / 1.109 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.789e-06/0.5581, allocations: 0 / 1.109 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.5583, allocations: 91.33 kB / 1.109 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.5589, allocations: 11.98 kB / 1.109 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.5595, allocations: 172.5 kB / 1.109 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.5597, allocations: 0.6887 MB / 1.11 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.971e-05/0.5597, allocations: 3.984 kB / 1.11 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.5598, allocations: 11.44 kB / 1.11 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/0.5598, allocations: 0 / 1.11 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of Templates: time 0.004324/0.5641, allocations: 0.7388 MB / 1.111 GB, free: 3.395 MB / 0.5105 GB