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.009245/0.009245, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001093/0.001093, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 1.898/1.898, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.146/2.146, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006276/0.0006278, allocations: 8 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5346, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.7154, allocations: 125.2 MB / 0.8056 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.7156, allocations: 75.95 kB / 0.8056 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004358/0.72, allocations: 1.161 MB / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.608e-06/0.72, allocations: 0 / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.329e-06/0.7201, allocations: 4 kB / 0.8068 GB, free: 15.88 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.0005375/0.7206, allocations: 388.9 kB / 0.8071 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7207, allocations: 12.03 kB / 0.8072 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.7207, allocations: 3.984 kB / 0.8072 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.7209, allocations: 174.9 kB / 0.8073 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.7209, allocations: 4 kB / 0.8073 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.7209, allocations: 8 kB / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.7211, allocations: 49.67 kB / 0.8074 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7211, allocations: 3.938 kB / 0.8074 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.7211, allocations: 0 / 0.8074 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.7211, allocations: 7.938 kB / 0.8074 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.7212, allocations: 16 kB / 0.8074 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.7217, allocations: 268.9 kB / 0.8077 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.7218, allocations: 46.56 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.7219, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.7221, allocations: 105.1 kB / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.311e-06/0.7221, allocations: 0 / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004133/0.7225, allocations: 220.4 kB / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.7226, allocations: 81.11 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.7227, allocations: 117 kB / 0.8082 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7227, allocations: 29.7 kB / 0.8082 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.7228, allocations: 84.14 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.7229, allocations: 15.8 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-06/0.7229, allocations: 4 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7231, allocations: 314.8 kB / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.7231, allocations: 15.98 kB / 0.8087 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.7232, allocations: 34.56 kB / 0.8087 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.7233, allocations: 49.7 kB / 0.8087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-06/0.7233, allocations: 0 / 0.8087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/0.7236, allocations: 127.2 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.7236, allocations: 37.64 kB / 0.8089 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-06/0.7236, allocations: 0 / 0.8089 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7237, allocations: 7.938 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.7237, allocations: 3.984 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.848e-06/0.7237, allocations: 4 kB / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.7238, allocations: 12.02 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.7239, allocations: 4 kB / 0.8089 GB, free: 13.39 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 () * 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.0001474/0.724, allocations: 151.5 kB / 0.8091 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.7241, allocations: 12.28 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.7241, allocations: 4.375 kB / 0.8091 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.7241, allocations: 4 kB / 0.8091 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-06/0.7241, allocations: 0 / 0.8091 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-06/0.7241, allocations: 3.938 kB / 0.8091 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.7247, allocations: 396.2 kB / 0.8095 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-06/0.7248, allocations: 7.984 kB / 0.8095 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.7248, allocations: 3.938 kB / 0.8095 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.206e-06/0.7248, allocations: 3.984 kB / 0.8095 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7248, allocations: 4 kB / 0.8095 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-06/0.7248, allocations: 0 / 0.8095 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.52e-06/0.7248, allocations: 3.953 kB / 0.8095 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.7252, allocations: 233.2 kB / 0.8097 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.7252, allocations: 81.02 kB / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.7253, allocations: 0 / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.7254, allocations: 15.92 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.7255, allocations: 11.98 kB / 0.8098 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.7255, allocations: 7.953 kB / 0.8098 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.247e-05/0.7256, allocations: 91.27 kB / 0.8099 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.53e-07/0.7256, allocations: 0 / 0.8099 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003231/0.726, allocations: 16 kB / 0.8099 GB, free: 12.23 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.0001324/0.7261, allocations: 104.5 kB / 0.81 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.7264, allocations: 113.7 kB / 0.8101 GB, free: 12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.069e-06/0.7264, allocations: 0 / 0.8101 GB, free: 12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.7265, allocations: 91.39 kB / 0.8102 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.7268, allocations: 7.984 kB / 0.8102 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.7272, allocations: 164.8 kB / 0.8104 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.7276, allocations: 0.6926 MB / 0.8111 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.7277, allocations: 7.938 kB / 0.8111 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.7277, allocations: 11.44 kB / 0.8111 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.459e-06/0.7277, allocations: 0 / 0.8111 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.003724/0.7315, allocations: 0.7447 MB / 0.8118 GB, free: 10.23 MB / 0.6355 GB