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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 3.843/3.843, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.325e-05, allocations: 5.781 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.4707, allocations: 125.2 MB / 0.757 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.471, allocations: 71.97 kB / 0.757 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005642/0.4766, allocations: 1.355 MB / 0.7584 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.891e-06/0.4766, allocations: 4 kB / 0.7584 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.4767, allocations: 0 / 0.7584 GB, free: 3.109 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.0003813/0.4771, allocations: 342.4 kB / 0.7587 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4771, allocations: 12.03 kB / 0.7587 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.4772, allocations: 0 / 0.7587 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4773, allocations: 170.9 kB / 0.7589 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4773, allocations: 0 / 0.7589 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.4774, allocations: 4 kB / 0.7589 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.4775, allocations: 45.62 kB / 0.7589 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-06/0.4775, allocations: 0 / 0.7589 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-06/0.4775, allocations: 0 / 0.7589 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-06/0.4775, allocations: 0 / 0.7589 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.504e-05/0.4776, allocations: 12 kB / 0.7589 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.478, allocations: 256.9 kB / 0.7592 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/0.4781, allocations: 34.52 kB / 0.7592 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.4781, allocations: 8.922 kB / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/0.479, allocations: 477.4 kB / 0.7597 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.479, allocations: 34.56 kB / 0.7597 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.239e-06/0.4791, allocations: 0 / 0.7597 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.4793, allocations: 41.69 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4793, allocations: 55.36 kB / 0.7598 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4794, allocations: 105 kB / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4795, allocations: 25.7 kB / 0.7599 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.4795, allocations: 92.11 kB / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.4796, allocations: 3.906 kB / 0.76 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-06/0.4796, allocations: 7.938 kB / 0.76 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4797, allocations: 318.8 kB / 0.7603 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.4798, allocations: 4 kB / 0.7603 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.4798, allocations: 0 / 0.7603 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.4799, allocations: 8 kB / 0.7603 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4799, allocations: 0 / 0.7603 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001249/0.48, allocations: 53.66 kB / 0.7604 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.48, allocations: 8 kB / 0.7604 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-06/0.48, allocations: 0 / 0.7604 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4801, allocations: 0 / 0.7604 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.4802, allocations: 7.938 kB / 0.7604 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.487e-06/0.4802, allocations: 320 / 0.7604 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.4802, allocations: 7.953 kB / 0.7604 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4803, allocations: 3.984 kB / 0.7604 GB, free: 0.7109 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 8.735e-05/0.4804, allocations: 113 kB / 0.7605 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.4804, allocations: 0 / 0.7605 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.4806, allocations: 53.34 kB / 0.7606 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-06/0.4806, allocations: 0 / 0.7606 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.231e-06/0.4806, allocations: 0 / 0.7606 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-06/0.4806, allocations: 0 / 0.7606 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.4809, allocations: 165.6 kB / 0.7607 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4809, allocations: 0 / 0.7607 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.4809, allocations: 4 kB / 0.7607 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.481, allocations: 32 / 0.7607 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.481, allocations: 8 kB / 0.7607 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-06/0.481, allocations: 0 / 0.7607 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.013e-06/0.481, allocations: 7.984 kB / 0.7607 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.4812, allocations: 151.3 kB / 0.7609 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.4813, allocations: 77.11 kB / 0.761 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4813, allocations: 0 / 0.761 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.4814, allocations: 7.984 kB / 0.761 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.4814, allocations: 4.031 kB / 0.761 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-06/0.4814, allocations: 4 kB / 0.761 GB, free: 36 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.291e-05/0.4815, allocations: 83.28 kB / 0.761 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.73e-07/0.4815, allocations: 3.938 kB / 0.7611 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003721/0.4819, allocations: 31.92 kB / 0.7611 GB, free: 15.92 MB / 0.6511 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.0002034/0.4821, allocations: 115.2 kB / 0.7612 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4823, allocations: 23.92 kB / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4823, allocations: 4.062 kB / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.4823, allocations: 4 kB / 0.7612 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.4825, allocations: 7.953 kB / 0.7612 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.4827, allocations: 64.72 kB / 0.7613 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.4831, allocations: 0.677 MB / 0.762 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.4832, allocations: 4 kB / 0.762 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.4832, allocations: 7.438 kB / 0.762 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.348e-06/0.4832, allocations: 4.062 kB / 0.762 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.003084/0.4863, allocations: 0.5987 MB / 0.7626 GB, free: 14.36 MB / 0.6511 GB