Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 297.4 MB / 312.6 MB, free: 2.945 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009142/0.0009143, allocations: 186 kB / 382.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.7 MB / 0.6617 GB, free: 7.184 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.0009292, allocations: 90.23 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 12.69 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.586, allocations: 119.2 MB / 1.022 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001636/0.5877, allocations: 1.179 MB / 1.023 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.5887, allocations: 0.8453 MB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.5887, allocations: 2 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.5887, allocations: 0.6562 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.5888, allocations: 4.5 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.589, allocations: 44.09 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.5891, allocations: 21.2 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.5892, allocations: 11.84 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.5893, allocations: 12.19 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.5893, allocations: 14.84 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.5893, allocations: 1.125 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.5895, allocations: 50.41 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.5895, allocations: 10.81 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.5895, allocations: 37.67 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.5897, allocations: 62.16 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5897, allocations: 1.188 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5897, allocations: 0 / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5897, allocations: 0 / 1.024 GB, free: 56.77 MB / 0.698 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.0003478/0.59, allocations: 350.1 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5901, allocations: 9.062 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.5901, allocations: 8.594 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.5902, allocations: 166.9 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5902, allocations: 1.781 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.5902, allocations: 1.688 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5904, allocations: 51.3 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5904, allocations: 0.75 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.5904, allocations: 1.75 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5904, allocations: 0 / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.5905, allocations: 26.7 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.5908, allocations: 258.7 kB / 1.025 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.5908, allocations: 35.39 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.5909, allocations: 21.31 kB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/0.5916, allocations: 495.9 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.5916, allocations: 36.97 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5916, allocations: 0 / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002345/0.5919, allocations: 73.69 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.5919, allocations: 53.16 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.592, allocations: 107.6 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.592, allocations: 30.48 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.592, allocations: 85.77 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.592, allocations: 10.45 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.592, allocations: 4 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.5921, allocations: 313.9 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.5921, allocations: 9.516 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.5922, allocations: 18.45 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.5923, allocations: 36.56 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5923, allocations: 0 / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.5924, allocations: 59.09 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5924, allocations: 9.828 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5924, allocations: 2.297 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5924, allocations: 0 / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.5925, allocations: 11.67 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5925, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.5926, allocations: 3.812 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5926, allocations: 1.812 kB / 1.027 GB, free: 54.61 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.5927, allocations: 120.7 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.5927, allocations: 6.406 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.5928, allocations: 76.06 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5929, allocations: 2.672 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5929, allocations: 0 / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5929, allocations: 0 / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.593, allocations: 162.1 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.593, allocations: 1.094 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.593, allocations: 6.609 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5931, allocations: 1.312 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5931, allocations: 0.8438 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5931, allocations: 5.344 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5931, allocations: 0 / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.5932, allocations: 154.6 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.5933, allocations: 83.06 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.5933, allocations: 2.156 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.5933, allocations: 6.828 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.5934, allocations: 6.609 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.5934, allocations: 2.781 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.5934, allocations: 88.97 kB / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5934, allocations: 0 / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002159/0.5937, allocations: 17.67 kB / 1.027 GB, free: 53.91 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.5939, allocations: 125.2 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.594, allocations: 29.61 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.594, allocations: 0 / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.594, allocations: 16.5 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.5943, allocations: 9.562 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.5945, allocations: 145.5 kB / 1.028 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.5947, allocations: 0.6798 MB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.5947, allocations: 2.469 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.5947, allocations: 9.344 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.5947, allocations: 0 / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of Templates: time 0.002582/0.5973, allocations: 0.6367 MB / 1.029 GB, free: 52.89 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)