Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.727/1.727, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.0009286/0.0009289, allocations: 179.5 kB / 393.1 MB, free: 4.086 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.504/1.504, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 98.36 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5283, allocations: 121.3 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001407/0.5297, allocations: 1.183 MB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.5306, allocations: 0.8392 MB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.5307, allocations: 1.344 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.5307, allocations: 0.6562 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.5308, allocations: 8.672 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.531, allocations: 32.14 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.5311, allocations: 24.2 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.5312, allocations: 14.27 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.5312, allocations: 17.12 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.5313, allocations: 12.25 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.5313, allocations: 5.219 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.5314, allocations: 47.58 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.5315, allocations: 7.547 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.5315, allocations: 41.27 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.5316, allocations: 56.75 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5316, allocations: 0 / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5317, allocations: 2.938 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.5317, allocations: 1.062 kB / 1.043 GB, free: 56.91 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.0003395/0.532, allocations: 348.7 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.532, allocations: 8.938 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.5321, allocations: 13.56 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.5322, allocations: 165.3 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5322, allocations: 1 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5322, allocations: 384 / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.5323, allocations: 49.64 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.5323, allocations: 4.781 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5324, allocations: 0 / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5324, allocations: 3.703 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.5325, allocations: 23.69 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.5327, allocations: 262.1 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.5328, allocations: 37.11 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.5329, allocations: 13.91 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.5336, allocations: 0.4932 MB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.5336, allocations: 31.5 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5336, allocations: 0 / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002362/0.5339, allocations: 74.56 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.5339, allocations: 52.09 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.534, allocations: 107.6 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.534, allocations: 29.11 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.534, allocations: 85.41 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.534, allocations: 8.797 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.534, allocations: 0 / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.5341, allocations: 322.2 kB / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.5341, allocations: 10.3 kB / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.5342, allocations: 10.89 kB / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.5343, allocations: 37.91 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5343, allocations: 4.188 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.5344, allocations: 67.03 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5344, allocations: 7.75 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5344, allocations: 3.25 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5345, allocations: 0 / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.5345, allocations: 3.25 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5346, allocations: 5 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.5346, allocations: 11.91 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.5346, allocations: 0 / 1.045 GB, free: 54.73 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 4.902e-05/0.5347, allocations: 122.5 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.5347, allocations: 0 / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.5348, allocations: 66.62 kB / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5348, allocations: 4 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.5349, allocations: 0 / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5349, allocations: 4.031 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.535, allocations: 164.3 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.535, allocations: 1.125 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.535, allocations: 8.844 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.535, allocations: 0 / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5351, allocations: 0 / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5351, allocations: 2.969 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5351, allocations: 0 / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.5352, allocations: 158 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.5352, allocations: 79.45 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5353, allocations: 5.719 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.5353, allocations: 2.719 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.5354, allocations: 2.156 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.5354, allocations: 6.031 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.5354, allocations: 91.28 kB / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5354, allocations: 0 / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002089/0.5356, allocations: 17.67 kB / 1.046 GB, free: 54.03 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.0001484/0.5358, allocations: 118.1 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.5359, allocations: 25.91 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5359, allocations: 0 / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.536, allocations: 19.3 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.5362, allocations: 7.938 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.5364, allocations: 138 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.5365, allocations: 0.6788 MB / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.5366, allocations: 7.625 kB / 1.047 GB, free: 53.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.5366, allocations: 9.781 kB / 1.047 GB, free: 53.09 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.5366, allocations: 0 / 1.047 GB, free: 53.09 MB / 0.698 GB Notification: Performance of Templates: time 0.002469/0.5391, allocations: 0.6292 MB / 1.048 GB, free: 53.01 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)