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.008966/0.008966, 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.00109/0.00109, allocations: 183.8 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.858/1.858, allocations: 194.6 MB / 211.3 MB, free: 11 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.324/2.324, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004645, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5964, allocations: 98.71 MB / 0.6833 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.8272, allocations: 125.3 MB / 0.8057 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.8275, allocations: 75.97 kB / 0.8057 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007047/0.8346, allocations: 1.364 MB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.831e-06/0.8347, allocations: 0 / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.8347, allocations: 0 / 0.8071 GB, free: 15.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007709/0.8355, allocations: 359.1 kB / 0.8074 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.8356, allocations: 8.031 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.8357, allocations: 4 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.836, allocations: 163 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.836, allocations: 4 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.836, allocations: 4 kB / 0.8076 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.8363, allocations: 49.61 kB / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.8364, allocations: 0 / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.8364, allocations: 0 / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8364, allocations: 0 / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.8367, allocations: 23.98 kB / 0.8077 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.8374, allocations: 268.7 kB / 0.8079 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.8377, allocations: 30.58 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.8393, allocations: 481.4 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.8394, allocations: 30.56 kB / 0.8084 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.094e-06/0.8394, allocations: 0 / 0.8084 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0006175/0.8401, allocations: 69.69 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.8402, allocations: 51.41 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.8404, allocations: 104.9 kB / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.8405, allocations: 25.7 kB / 0.8087 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.8406, allocations: 84.14 kB / 0.8088 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.8406, allocations: 11.89 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-06/0.8407, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002748/0.841, allocations: 319 kB / 0.8091 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.8411, allocations: 15.92 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.8413, allocations: 8 kB / 0.8091 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.8414, allocations: 15.98 kB / 0.8091 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-06/0.8414, allocations: 0 / 0.8091 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003905/0.8419, allocations: 57.75 kB / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.8419, allocations: 8 kB / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.29e-06/0.8419, allocations: 0 / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.842, allocations: 0 / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8422, allocations: 4 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.44e-06/0.8422, allocations: 3.938 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.8423, allocations: 7.984 kB / 0.8092 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.8424, allocations: 3.953 kB / 0.8092 GB, free: 13.1 MB / 0.6355 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 0.0001757/0.8426, allocations: 113.9 kB / 0.8093 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.8427, allocations: 7.906 kB / 0.8093 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.843, allocations: 69.12 kB / 0.8094 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.726e-06/0.8431, allocations: 0 / 0.8094 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.15e-06/0.8431, allocations: 8 kB / 0.8094 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.256e-06/0.8431, allocations: 0 / 0.8094 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.8435, allocations: 169.6 kB / 0.8095 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-06/0.8436, allocations: 0 / 0.8095 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.8437, allocations: 8 kB / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-06/0.8438, allocations: 0 / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8438, allocations: 0 / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.184e-06/0.8438, allocations: 0 / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.829e-06/0.8438, allocations: 0 / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.8443, allocations: 163.4 kB / 0.8097 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.8445, allocations: 81.02 kB / 0.8098 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.8445, allocations: 0 / 0.8098 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.8447, allocations: 11.98 kB / 0.8098 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.8448, allocations: 3.938 kB / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.8448, allocations: 0 / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001272/0.845, allocations: 87.27 kB / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.104e-06/0.845, allocations: 0 / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008505/0.8459, allocations: 27.97 kB / 0.8099 GB, free: 12.26 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 (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.0003831/0.8463, allocations: 119.2 kB / 0.81 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.8466, allocations: 23.98 kB / 0.81 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.133e-06/0.8467, allocations: 0 / 0.81 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.8468, allocations: 20 kB / 0.8101 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.8472, allocations: 7.953 kB / 0.8101 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.8479, allocations: 136.5 kB / 0.8102 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.8485, allocations: 0.6809 MB / 0.8109 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.247e-05/0.8486, allocations: 0 / 0.8109 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.8487, allocations: 11.5 kB / 0.8109 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.275e-06/0.8487, allocations: 4 kB / 0.8109 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.00597/0.8547, allocations: 0.5962 MB / 0.8115 GB, free: 10.61 MB / 0.6355 GB