Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01578/0.01578, allocations: 108.4 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.001132/0.001132, allocations: 187.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.066/2.066, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.124/2.124, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004861, allocations: 16 kB / 0.5869 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5404, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001446/0.5419, allocations: 1.149 MB / 0.6845 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.5428, allocations: 0.5534 MB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.5429, allocations: 1.094 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.5429, allocations: 5.016 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.5429, allocations: 1.781 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.5432, allocations: 42.75 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.5432, allocations: 15.31 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.5433, allocations: 9.016 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.5434, allocations: 18.66 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.5435, allocations: 6.578 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.5435, allocations: 1.344 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.5436, allocations: 49.27 kB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.5436, allocations: 6.312 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.5437, allocations: 26.8 kB / 0.6852 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.5438, allocations: 37.69 kB / 0.6852 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.517e-06/0.5438, allocations: 1.031 kB / 0.6852 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.176e-06/0.5438, allocations: 4 kB / 0.6852 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.664e-06/0.5438, allocations: 0 / 0.6852 GB, free: 15.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003093/0.5441, allocations: 348.2 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5442, allocations: 8.625 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.5442, allocations: 7.625 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.5443, allocations: 162.5 kB / 0.6857 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5443, allocations: 4 kB / 0.6857 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.5444, allocations: 1.594 kB / 0.6857 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.5445, allocations: 52.38 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-06/0.5445, allocations: 0 / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-06/0.5445, allocations: 5.156 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-06/0.5446, allocations: 0.7031 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5447, allocations: 23.58 kB / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.545, allocations: 265.3 kB / 0.6861 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.5451, allocations: 36.81 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008264/0.5459, allocations: 498 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.546, allocations: 32.52 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.339e-06/0.546, allocations: 4 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002804/0.5463, allocations: 67.19 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.5463, allocations: 57.06 kB / 0.6867 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.5464, allocations: 106 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.501e-06/0.5464, allocations: 30.77 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.5464, allocations: 87.25 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.5465, allocations: 17.09 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.5465, allocations: 0 / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.5465, allocations: 317.5 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.5466, allocations: 9.484 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.5467, allocations: 14.61 kB / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.5467, allocations: 13.48 kB / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-06/0.5467, allocations: 0 / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.5469, allocations: 63.78 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5469, allocations: 4.312 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.599e-06/0.547, allocations: 2.172 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.547, allocations: 0 / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.5471, allocations: 7.234 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.719e-06/0.5471, allocations: 4.984 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.5472, allocations: 7.484 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.5472, allocations: 2.016 kB / 0.6874 GB, free: 13.32 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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 5.63e-05/0.5472, allocations: 111.1 kB / 0.6875 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.5473, allocations: 1.984 kB / 0.6875 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.5475, allocations: 65.11 kB / 0.6875 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-06/0.5475, allocations: 9.266 kB / 0.6876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.195e-06/0.5475, allocations: 0.7031 kB / 0.6876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-06/0.5475, allocations: 3.953 kB / 0.6876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.5477, allocations: 159.6 kB / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5477, allocations: 0 / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.5478, allocations: 7.422 kB / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5478, allocations: 0 / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-06/0.5478, allocations: 1.375 kB / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-06/0.5478, allocations: 0.7969 kB / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-06/0.5479, allocations: 0 / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.548, allocations: 166.3 kB / 0.6879 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.5481, allocations: 83.22 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.5481, allocations: 1.609 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.5482, allocations: 7.875 kB / 0.688 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.5482, allocations: 3.438 kB / 0.688 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-06/0.5483, allocations: 5.531 kB / 0.688 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.5483, allocations: 91.81 kB / 0.6881 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.75e-07/0.5483, allocations: 0 / 0.6881 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003214/0.5487, allocations: 15.25 kB / 0.6881 GB, free: 12.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001574/0.5488, allocations: 122.5 kB / 0.6882 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.549, allocations: 25.61 kB / 0.6882 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.39e-06/0.549, allocations: 8 kB / 0.6882 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.5491, allocations: 12.17 kB / 0.6882 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.5493, allocations: 8.078 kB / 0.6882 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.5496, allocations: 132.9 kB / 0.6884 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.5497, allocations: 0.6861 MB / 0.689 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.5497, allocations: 1.609 kB / 0.689 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.5498, allocations: 9.172 kB / 0.6891 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.317e-06/0.5498, allocations: 1.062 kB / 0.6891 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.00303/0.5528, allocations: 0.6218 MB / 0.6897 GB, free: 11.57 MB / 0.5261 GB