Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.362/4.362, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.41e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6056, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.7999, allocations: 124.5 MB / 0.7505 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.8002, allocations: 71.97 kB / 0.7506 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00545/0.8057, allocations: 1.352 MB / 0.7519 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8058, allocations: 0 / 0.7519 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.877e-06/0.8058, allocations: 0 / 0.7519 GB, free: 1.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004219/0.8062, allocations: 347.6 kB / 0.7522 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.8063, allocations: 16.02 kB / 0.7522 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.8063, allocations: 11.86 kB / 0.7523 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.8065, allocations: 163.1 kB / 0.7524 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.8065, allocations: 0 / 0.7524 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.8065, allocations: 0 / 0.7524 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.479e-05/0.8066, allocations: 15.94 kB / 0.7524 GB, free: 1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.937e-05/0.8067, allocations: 33.69 kB / 0.7525 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.642e-06/0.8067, allocations: 0 / 0.7525 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.254e-06/0.8067, allocations: 0 / 0.7525 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.8068, allocations: 0 / 0.7525 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.8071, allocations: 241.5 kB / 0.7527 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.8072, allocations: 18.58 kB / 0.7527 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.8073, allocations: 12.92 kB / 0.7527 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/0.8081, allocations: 469.5 kB / 0.7532 GB, free: 96 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.8081, allocations: 42.5 kB / 0.7532 GB, free: 44 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.23e-06/0.8081, allocations: 0 / 0.7532 GB, free: 44 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.003731/0.8119, allocations: 0.548 MB / 0.7537 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.812, allocations: 51.41 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.8121, allocations: 97 kB / 0.7539 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.8121, allocations: 25.7 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.8122, allocations: 96.03 kB / 0.754 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.8122, allocations: 3.938 kB / 0.754 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-06/0.8123, allocations: 4.031 kB / 0.754 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8124, allocations: 314.8 kB / 0.7543 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.8125, allocations: 11.94 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.8125, allocations: 4 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.816, allocations: 0.5151 MB / 0.7548 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8161, allocations: 0 / 0.7548 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003667/0.8197, allocations: 0.5518 MB / 0.7554 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.8198, allocations: 8.031 kB / 0.7554 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-06/0.8198, allocations: 0 / 0.7554 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8199, allocations: 0 / 0.7554 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.82, allocations: 11.98 kB / 0.7554 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.642e-06/0.82, allocations: 0 / 0.7554 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.82, allocations: 0 / 0.7554 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.8201, allocations: 4 kB / 0.7554 GB, free: 13.76 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 () * 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 9.164e-05/0.8202, allocations: 104.9 kB / 0.7555 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.8202, allocations: 8 kB / 0.7555 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.8239, allocations: 0.5557 MB / 0.756 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-06/0.8239, allocations: 0 / 0.756 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.283e-06/0.8239, allocations: 0 / 0.756 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-06/0.824, allocations: 4.031 kB / 0.756 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.8242, allocations: 142.1 kB / 0.7562 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-06/0.8242, allocations: 0 / 0.7562 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.8243, allocations: 11.98 kB / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.709e-06/0.8243, allocations: 0 / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.8243, allocations: 3.984 kB / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-06/0.8243, allocations: 0 / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.783e-06/0.8244, allocations: 0 / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/0.828, allocations: 0.6474 MB / 0.7568 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.8281, allocations: 77.11 kB / 0.7569 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.8281, allocations: 0 / 0.7569 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.8282, allocations: 8.031 kB / 0.7569 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.8283, allocations: 3.984 kB / 0.7569 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.934e-06/0.8283, allocations: 4 kB / 0.7569 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.263e-05/0.8284, allocations: 83.59 kB / 0.757 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-07/0.8284, allocations: 0 / 0.757 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003644/0.8288, allocations: 19.94 kB / 0.757 GB, free: 12.01 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 () * 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.0002202/0.829, allocations: 124.1 kB / 0.7571 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.8291, allocations: 12 kB / 0.7571 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.8291, allocations: 8 kB / 0.7572 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.8292, allocations: 8 kB / 0.7572 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.8294, allocations: 3.953 kB / 0.7572 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.8296, allocations: 63.94 kB / 0.7572 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.83, allocations: 0.6846 MB / 0.7579 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.8301, allocations: 4 kB / 0.7579 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.8301, allocations: 15.38 kB / 0.7579 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of SimCode: time 3.639e-06/0.8301, allocations: 4.062 kB / 0.7579 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.003047/0.8332, allocations: 0.5733 MB / 0.7585 GB, free: 10.46 MB / 0.6355 GB