Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008893/0.008893, allocations: 110.1 kB / 15.05 MB, free: 6.031 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.001131/0.00113, allocations: 188.6 kB / 15.95 MB, free: 5.965 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.849/1.849, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.453/2.453, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 12 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.5912, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.7979, allocations: 123.8 MB / 0.8043 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.7982, allocations: 75.95 kB / 0.8044 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001528/0.7998, allocations: 0.5331 MB / 0.8049 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.427e-06/0.7998, allocations: 0 / 0.8049 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.105e-06/0.7998, allocations: 0 / 0.8049 GB, free: 1.836 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002776/0.8001, allocations: 315.4 kB / 0.8052 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8001, allocations: 8.031 kB / 0.8052 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.8003, allocations: 23.88 kB / 0.8052 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.8005, allocations: 163 kB / 0.8054 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8005, allocations: 4 kB / 0.8054 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.8005, allocations: 4 kB / 0.8054 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.8007, allocations: 37.62 kB / 0.8054 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.007e-06/0.8007, allocations: 0 / 0.8054 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.8007, allocations: 7.984 kB / 0.8054 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-06/0.8007, allocations: 3.984 kB / 0.8054 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.8008, allocations: 4 kB / 0.8054 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.801, allocations: 149.6 kB / 0.8056 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.8011, allocations: 26.61 kB / 0.8056 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8011, allocations: 4.047 kB / 0.8056 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.8012, allocations: 38.5 kB / 0.8056 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.808e-06/0.8012, allocations: 0 / 0.8056 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002483/0.8014, allocations: 45.62 kB / 0.8057 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.8015, allocations: 55.53 kB / 0.8057 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.8015, allocations: 85 kB / 0.8058 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.8016, allocations: 33.62 kB / 0.8059 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.8016, allocations: 80.14 kB / 0.8059 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.8017, allocations: 4 kB / 0.8059 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-06/0.8017, allocations: 0 / 0.8059 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8018, allocations: 310.8 kB / 0.8062 GB, free: 264 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.8019, allocations: 4 kB / 0.8062 GB, free: 260 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.526e-05/0.802, allocations: 11.98 kB / 0.8062 GB, free: 248 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.802, allocations: 4 kB / 0.8063 GB, free: 244 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.146e-06/0.802, allocations: 3.953 kB / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001528/0.8022, allocations: 45.61 kB / 0.8063 GB, free: 188 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8022, allocations: 5.406 kB / 0.8063 GB, free: 184 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-06/0.8023, allocations: 0 / 0.8063 GB, free: 184 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.8023, allocations: 4 kB / 0.8063 GB, free: 180 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.8024, allocations: 4.094 kB / 0.8063 GB, free: 176 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.953e-06/0.8024, allocations: 0 / 0.8063 GB, free: 176 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.8024, allocations: 4 kB / 0.8063 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.8024, allocations: 0 / 0.8063 GB, free: 172 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.164e-05/0.8025, allocations: 113.8 kB / 0.8064 GB, free: 48 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.8026, allocations: 3.953 kB / 0.8064 GB, free: 44 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.8026, allocations: 7.125 kB / 0.8064 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.8026, allocations: 0 / 0.8064 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.773e-06/0.8026, allocations: 4 kB / 0.8064 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-06/0.8026, allocations: 0 / 0.8064 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.8028, allocations: 145.7 kB / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-06/0.8028, allocations: 0 / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.8029, allocations: 7.953 kB / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.964e-06/0.8029, allocations: 0 / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-06/0.8029, allocations: 0 / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8029, allocations: 0 / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.844e-06/0.8029, allocations: 4 kB / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.8031, allocations: 73.05 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.8032, allocations: 81.05 kB / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.8032, allocations: 3.953 kB / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.8032, allocations: 4 kB / 0.8067 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.8033, allocations: 0 / 0.8067 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-06/0.8033, allocations: 0 / 0.8067 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.8033, allocations: 75.28 kB / 0.8068 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.32e-07/0.8033, allocations: 32 / 0.8068 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002354/0.8036, allocations: 8 kB / 0.8068 GB, free: 15.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001299/0.8037, allocations: 99.23 kB / 0.8069 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.8039, allocations: 15.92 kB / 0.8069 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.5e-06/0.8039, allocations: 0 / 0.8069 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.8039, allocations: 15.94 kB / 0.8069 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.8041, allocations: 4.812 kB / 0.807 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.8043, allocations: 82.73 kB / 0.807 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.8047, allocations: 0.6692 MB / 0.8077 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.035e-05/0.8047, allocations: 4 kB / 0.8077 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.8048, allocations: 11.44 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.345e-06/0.8048, allocations: 0 / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.002037/0.8068, allocations: 219.6 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB