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.009693/0.009698, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001115/0.001115, allocations: 181.6 kB / 15.95 MB, free: 5.523 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 2.043/2.043, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.232/2.232, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000778/0.0007783, allocations: 11.98 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7242, allocations: 98.7 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00144/0.7256, allocations: 1.119 MB / 0.6844 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.7264, allocations: 442.4 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.7264, allocations: 4 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.7264, allocations: 0.6562 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.7265, allocations: 14.34 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.7267, allocations: 12.22 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.7268, allocations: 30.3 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.017e-05/0.7268, allocations: 8.625 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.7269, allocations: 18.2 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.727, allocations: 22.52 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.727, allocations: 1.094 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.727, allocations: 6.25 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.7271, allocations: 11.14 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.7271, allocations: 30.97 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.236e-05/0.7272, allocations: 22.09 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.293e-06/0.7272, allocations: 5.062 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.547e-06/0.7272, allocations: 0 / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.932e-06/0.7272, allocations: 3.938 kB / 0.685 GB, free: 15.61 MB / 0.5261 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.0004848/0.7277, allocations: 391.1 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7278, allocations: 8.812 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.7278, allocations: 7.453 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.7279, allocations: 171.8 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.728, allocations: 1.25 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.728, allocations: 7.047 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.7281, allocations: 46.64 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.96e-06/0.7281, allocations: 0.9688 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7281, allocations: 0.7031 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-06/0.7282, allocations: 5 kB / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.7282, allocations: 20.06 kB / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.7286, allocations: 274.7 kB / 0.6859 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.7287, allocations: 44.05 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.7288, allocations: 0 / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.729, allocations: 101.5 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.729, allocations: 0 / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0003387/0.7293, allocations: 225.8 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.7294, allocations: 81.03 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.7295, allocations: 116.1 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.7295, allocations: 27.7 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.7295, allocations: 85.89 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7296, allocations: 12.25 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-06/0.7296, allocations: 9.312 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.7297, allocations: 314.2 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.7297, allocations: 18.84 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.7298, allocations: 37.03 kB / 0.6869 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.7299, allocations: 50.16 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-06/0.7299, allocations: 0 / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000198/0.7301, allocations: 129.6 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.7301, allocations: 39.3 kB / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-06/0.7301, allocations: 1.281 kB / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7302, allocations: 0.9688 kB / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.7302, allocations: 12.36 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.7302, allocations: 5 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.7303, allocations: 8.766 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.7304, allocations: 3.953 kB / 0.6872 GB, free: 13.48 MB / 0.5261 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 9.472e-05/0.7305, allocations: 159.4 kB / 0.6873 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.7305, allocations: 8.719 kB / 0.6873 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.7305, allocations: 6.422 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-06/0.7305, allocations: 1.25 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-06/0.7306, allocations: 3.953 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.636e-06/0.7306, allocations: 0.7031 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.731, allocations: 400.4 kB / 0.6877 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.731, allocations: 0 / 0.6877 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.7311, allocations: 6.156 kB / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-06/0.7311, allocations: 1.188 kB / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.7311, allocations: 9.609 kB / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7311, allocations: 2.109 kB / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-06/0.7311, allocations: 0 / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.7314, allocations: 231.4 kB / 0.688 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.7314, allocations: 84.44 kB / 0.688 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.7314, allocations: 3.125 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.7316, allocations: 22.92 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.7317, allocations: 6.906 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.7317, allocations: 7.609 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.7317, allocations: 86.58 kB / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.54e-07/0.7317, allocations: 0 / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003205/0.7321, allocations: 14.53 kB / 0.6882 GB, free: 12.54 MB / 0.5261 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 9.821e-05/0.7322, allocations: 104.8 kB / 0.6883 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.7324, allocations: 120.7 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7324, allocations: 0 / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.7325, allocations: 92.94 kB / 0.6885 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.7328, allocations: 13.14 kB / 0.6885 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.7332, allocations: 168.9 kB / 0.6887 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.7333, allocations: 0.6868 MB / 0.6893 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.732e-05/0.7334, allocations: 5.25 kB / 0.6893 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.7334, allocations: 11.95 kB / 0.6893 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.377e-06/0.7334, allocations: 0 / 0.6893 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.003573/0.737, allocations: 0.7375 MB / 0.6901 GB, free: 11.34 MB / 0.5261 GB