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.00446/0.004464, allocations: 233.1 kB / 15.82 MB, free: 6.297 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.001237/0.001236, allocations: 175.8 kB / 16.7 MB, free: 5.457 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 4.079/4.079, allocations: 389.1 MB / 406.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.972/3.972, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.0005415, allocations: 12 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2165, allocations: 98.71 MB / 1.105 GB, free: 80.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7803/0.9969, allocations: 123.9 MB / 1.226 GB, free: 18.78 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.9972, allocations: 78.41 kB / 1.226 GB, free: 18.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.001702/0.9989, allocations: 0.5349 MB / 1.226 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9989, allocations: 0 / 1.226 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.999, allocations: 3.438 kB / 1.226 GB, free: 18.46 MB / 0.6042 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.0001968/0.9992, allocations: 317.4 kB / 1.227 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9992, allocations: 9.188 kB / 1.227 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.9995, allocations: 17.7 kB / 1.227 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.864e-05/0.9996, allocations: 164.3 kB / 1.227 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.9996, allocations: 3.75 kB / 1.227 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.9996, allocations: 7.344 kB / 1.227 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.9998, allocations: 38.27 kB / 1.227 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9998, allocations: 0 / 1.227 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.9998, allocations: 0 / 1.227 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9998, allocations: 0 / 1.227 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/1, allocations: 7.875 kB / 1.227 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/1, allocations: 157.3 kB / 1.227 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/1, allocations: 26.7 kB / 1.227 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/1, allocations: 10.23 kB / 1.227 GB, free: 17.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1, allocations: 0 / 1.227 GB, free: 17.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/1, allocations: 35.95 kB / 1.227 GB, free: 17.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/1, allocations: 3.312 kB / 1.227 GB, free: 17.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003044/1.001, allocations: 43.11 kB / 1.227 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/1.001, allocations: 51.97 kB / 1.227 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.252e-05/1.001, allocations: 92.55 kB / 1.227 GB, free: 17.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/1.001, allocations: 25.7 kB / 1.227 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.476e-05/1.001, allocations: 84.08 kB / 1.227 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/1.001, allocations: 3.625 kB / 1.227 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/1.001, allocations: 3.844 kB / 1.227 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0006501/1.002, allocations: 314.8 kB / 1.228 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/1.002, allocations: 2.344 kB / 1.228 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/1.002, allocations: 7.641 kB / 1.228 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/1.002, allocations: 6.969 kB / 1.228 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.002, allocations: 0 / 1.228 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002008/1.002, allocations: 51.33 kB / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.002, allocations: 6.703 kB / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.002, allocations: 0 / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.002, allocations: 0 / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/1.002, allocations: 3.688 kB / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.002, allocations: 0 / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/1.002, allocations: 6.609 kB / 1.228 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.002, allocations: 0 / 1.228 GB, free: 32.95 MB / 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.222e-05/1.002, allocations: 112.9 kB / 1.228 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/1.002, allocations: 0 / 1.228 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/1.003, allocations: 3.125 kB / 1.228 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/1.003, allocations: 1.094 kB / 1.228 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.003, allocations: 6.734 kB / 1.228 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.003, allocations: 0.6875 kB / 1.228 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.414e-05/1.003, allocations: 150.5 kB / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.003, allocations: 0 / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/1.003, allocations: 6.656 kB / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.003, allocations: 0 / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/1.003, allocations: 2.875 kB / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.003, allocations: 3.188 kB / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.003, allocations: 6.562 kB / 1.228 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/1.003, allocations: 69.61 kB / 1.228 GB, free: 32.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/1.003, allocations: 83.78 kB / 1.228 GB, free: 32.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/1.003, allocations: 0 / 1.228 GB, free: 32.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/1.003, allocations: 6.406 kB / 1.228 GB, free: 32.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/1.003, allocations: 0 / 1.228 GB, free: 32.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/1.003, allocations: 0 / 1.228 GB, free: 32.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.492e-05/1.003, allocations: 78.28 kB / 1.228 GB, free: 32.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/1.003, allocations: 0 / 1.228 GB, free: 32.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002367/1.003, allocations: 0 / 1.228 GB, free: 32.4 MB / 0.6198 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.0001373/1.004, allocations: 102.6 kB / 1.228 GB, free: 32.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001925/1.004, allocations: 21.58 kB / 1.228 GB, free: 32.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.004, allocations: 0 / 1.228 GB, free: 32.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/1.004, allocations: 6.641 kB / 1.228 GB, free: 32.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/1.004, allocations: 4.484 kB / 1.228 GB, free: 32.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/1.004, allocations: 86.92 kB / 1.228 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/1.005, allocations: 0.6747 MB / 1.229 GB, free: 31.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.584e-05/1.005, allocations: 3.875 kB / 1.229 GB, free: 31.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/1.005, allocations: 8.094 kB / 1.229 GB, free: 31.5 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/1.005, allocations: 0 / 1.229 GB, free: 31.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.002345/1.007, allocations: 218.5 kB / 1.229 GB, free: 31.47 MB / 0.6198 GB