Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.302/2.302, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.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.001413/0.001413, allocations: 192.9 kB / 329.5 MB, free: 1.145 MB / 250.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 2.571/2.571, allocations: 225.6 MB / 0.6001 GB, free: 2.141 MB / 426.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.001489/0.001489, allocations: 104.4 kB / 0.7074 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006487, allocations: 16.84 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2091, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002243/0.2114, allocations: 1.174 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.2118, allocations: 128.5 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.2119, allocations: 0 / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.212, allocations: 0 / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.23e-05/0.212, allocations: 11.88 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.2123, allocations: 27.95 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2124, allocations: 35.86 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2126, allocations: 19.98 kB / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.2126, allocations: 4 kB / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.2127, allocations: 19.86 kB / 0.9322 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2127, allocations: 8 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.2129, allocations: 27.97 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2129, allocations: 7.984 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.213, allocations: 29.7 kB / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2131, allocations: 39.92 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2131, allocations: 4 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2131, allocations: 0 / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2132, allocations: 0 / 0.9323 GB, free: 23.58 MB / 0.5886 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.0005331/0.2137, allocations: 359.6 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2138, allocations: 11.97 kB / 0.9326 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.2162, allocations: 244.5 kB / 0.9329 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2163, allocations: 168.2 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2164, allocations: 4.375 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.2164, allocations: 8.375 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2176, allocations: 210 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2177, allocations: 4.188 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.2177, allocations: 3.938 kB / 0.9332 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2177, allocations: 0 / 0.9332 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.2198, allocations: 319.6 kB / 0.9335 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2215, allocations: 469 kB / 0.934 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.2242, allocations: 338.1 kB / 0.9343 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.2251, allocations: 120.8 kB / 0.9344 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.2252, allocations: 4 kB / 0.9344 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2252, allocations: 34.5 kB / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.2253, allocations: 0 / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.002819/0.2281, allocations: 365.3 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.2281, allocations: 51.41 kB / 0.9349 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2283, allocations: 121.8 kB / 0.935 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2283, allocations: 25.7 kB / 0.935 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.2284, allocations: 84.14 kB / 0.9351 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.2284, allocations: 19.75 kB / 0.9351 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.2285, allocations: 0 / 0.9351 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.2286, allocations: 322.8 kB / 0.9354 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.2295, allocations: 111.9 kB / 0.9355 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008636/0.2303, allocations: 119.8 kB / 0.9356 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.2312, allocations: 100.2 kB / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2312, allocations: 4 kB / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00177/0.233, allocations: 249.4 kB / 0.936 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.233, allocations: 4 kB / 0.936 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.233, allocations: 3.984 kB / 0.936 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2331, allocations: 8 kB / 0.936 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.2337, allocations: 35.95 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2337, allocations: 4 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.2342, allocations: 39.95 kB / 0.9361 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.2342, allocations: 7.984 kB / 0.9361 GB, free: 19.47 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.2343, allocations: 117.8 kB / 0.9362 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.2344, allocations: 3.906 kB / 0.9362 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.2345, allocations: 7.906 kB / 0.9362 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2345, allocations: 3.984 kB / 0.9362 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2345, allocations: 3.938 kB / 0.9362 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2345, allocations: 4 kB / 0.9362 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.2349, allocations: 213.6 kB / 0.9364 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2349, allocations: 4.312 kB / 0.9364 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.2356, allocations: 39.95 kB / 0.9364 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2356, allocations: 0 / 0.9364 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2356, allocations: 0 / 0.9364 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.2357, allocations: 19.92 kB / 0.9365 GB, free: 19 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2357, allocations: 3.984 kB / 0.9365 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.2378, allocations: 351.2 kB / 0.9368 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2378, allocations: 81.11 kB / 0.9369 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2379, allocations: 4 kB / 0.9369 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.2385, allocations: 31.95 kB / 0.9369 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.2386, allocations: 7.984 kB / 0.9369 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2386, allocations: 0 / 0.9369 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.458e-05/0.2387, allocations: 99.2 kB / 0.937 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2387, allocations: 0 / 0.937 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005809/0.2393, allocations: 20 kB / 0.937 GB, free: 18.38 MB / 0.5886 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 (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.0001492/0.2395, allocations: 103.2 kB / 0.9371 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.2416, allocations: 235.7 kB / 0.9374 GB, free: 18.03 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2416, allocations: 0 / 0.9374 GB, free: 18.03 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.2426, allocations: 115.9 kB / 0.9375 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.2432, allocations: 4 kB / 0.9375 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.2453, allocations: 300.6 kB / 0.9378 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.2455, allocations: 0.6887 MB / 0.9384 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.2457, allocations: 27.98 kB / 0.9385 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2458, allocations: 7.438 kB / 0.9385 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of SimCode: time 2.475e-06/0.2459, allocations: 0 / 0.9385 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of Templates: time 0.004851/0.2507, allocations: 0.8153 MB / 0.9393 GB, free: 16.03 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)