Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.687/1.687, 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.001076/0.001076, allocations: 183.5 kB / 393.1 MB, free: 4.09 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.333/1.333, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008135/0.0008137, allocations: 99.8 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 8 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5291, allocations: 121.3 MB / 1.041 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001369/0.5305, allocations: 1.181 MB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.5309, allocations: 301.6 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.5309, allocations: 1.062 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.5309, allocations: 3.406 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.531, allocations: 7.266 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.5312, allocations: 23.11 kB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.619e-05/0.5313, allocations: 40.52 kB / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.5314, allocations: 19.38 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.5314, allocations: 11.41 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.5315, allocations: 16.3 kB / 1.042 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.5315, allocations: 1.656 kB / 1.042 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.5316, allocations: 31.45 kB / 1.042 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.5316, allocations: 6.469 kB / 1.042 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.5317, allocations: 47.22 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.5318, allocations: 55.77 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5318, allocations: 1.531 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5318, allocations: 0 / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.5318, allocations: 1.156 kB / 1.043 GB, free: 56.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003676/0.5322, allocations: 357 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5322, allocations: 9.438 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5333, allocations: 256.5 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/0.5334, allocations: 173.4 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5334, allocations: 384 / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.5334, allocations: 4.438 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.534, allocations: 214.2 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.534, allocations: 192 / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.534, allocations: 4.922 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.534, allocations: 0 / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.5349, allocations: 323.2 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.5357, allocations: 452.9 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.5367, allocations: 345.2 kB / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.537, allocations: 118.7 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.5371, allocations: 2.312 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5371, allocations: 44.94 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.5371, allocations: 0 / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001094/0.5382, allocations: 356 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.5382, allocations: 57.59 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.5383, allocations: 114.4 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5384, allocations: 35.17 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.5384, allocations: 86.33 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.5384, allocations: 8.844 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5384, allocations: 0 / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.5385, allocations: 324.8 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.5388, allocations: 111.6 kB / 1.046 GB, free: 55.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.5392, allocations: 122.5 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.5398, allocations: 206.9 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5398, allocations: 1.719 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000692/0.5405, allocations: 249.8 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5406, allocations: 7.781 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.5406, allocations: 4 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5406, allocations: 1.031 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.5408, allocations: 44.06 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5409, allocations: 0 / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.541, allocations: 39.44 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.5411, allocations: 3.938 kB / 1.046 GB, free: 54.88 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 (3): * Single equations (assignments): 3 * 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 6.8e-05/0.5411, allocations: 126.5 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.5412, allocations: 5.625 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.5412, allocations: 15.02 kB / 1.047 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5412, allocations: 0 / 1.047 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5412, allocations: 4 kB / 1.047 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5412, allocations: 384 / 1.047 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.5414, allocations: 217.3 kB / 1.047 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5415, allocations: 0 / 1.047 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.5417, allocations: 45.09 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5417, allocations: 3.938 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5418, allocations: 1.219 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.5418, allocations: 5 kB / 1.047 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5418, allocations: 0 / 1.047 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.5425, allocations: 353.9 kB / 1.047 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.5426, allocations: 82.78 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.5426, allocations: 0 / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.5428, allocations: 35.83 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5428, allocations: 10.38 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.5429, allocations: 7.031 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.5429, allocations: 95.02 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5429, allocations: 0 / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002121/0.5431, allocations: 11.56 kB / 1.047 GB, free: 54.14 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 (3): * Single equations (assignments): 3 * 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 9.11e-05/0.5432, allocations: 107.4 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007048/0.5439, allocations: 235 kB / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5439, allocations: 0 / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.5443, allocations: 126.9 kB / 1.048 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.5445, allocations: 5.688 kB / 1.048 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.5454, allocations: 303.4 kB / 1.048 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.5455, allocations: 0.6892 MB / 1.049 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.628e-05/0.5456, allocations: 23.52 kB / 1.049 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.5456, allocations: 8.938 kB / 1.049 GB, free: 53.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5456, allocations: 0 / 1.049 GB, free: 53.14 MB / 0.698 GB Notification: Performance of Templates: time 0.002459/0.5481, allocations: 0.8223 MB / 1.05 GB, free: 53.07 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)