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.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.131/2.131, allocations: 254.9 MB / 269.9 MB, free: 9.582 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.001318/0.001318, allocations: 191.4 kB / 329.5 MB, free: 1.168 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.41/2.41, allocations: 225.6 MB / 0.6001 GB, free: 2.258 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.001407/0.001407, allocations: 101.5 kB / 0.7074 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006604/0.0006605, allocations: 18.53 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2344, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002491/0.2369, allocations: 1.17 MB / 0.9319 GB, free: 23.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2385, allocations: 0.5194 MB / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.2386, allocations: 0 / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.2387, allocations: 3.938 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.2388, allocations: 0 / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.2392, allocations: 47.89 kB / 0.9325 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.2393, allocations: 23.92 kB / 0.9325 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2394, allocations: 7.938 kB / 0.9325 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2396, allocations: 11.98 kB / 0.9325 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.2397, allocations: 11.94 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2397, allocations: 0 / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.2399, allocations: 47.94 kB / 0.9326 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.24, allocations: 7.984 kB / 0.9326 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.24, allocations: 33.64 kB / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2402, allocations: 39.94 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2402, allocations: 4 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2402, allocations: 0 / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2403, allocations: 0 / 0.9326 GB, free: 23.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005324/0.2408, allocations: 351.7 kB / 0.933 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2409, allocations: 8.031 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.2409, allocations: 4.938 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2411, allocations: 168.3 kB / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2411, allocations: 384 / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2412, allocations: 4.375 kB / 0.9332 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.2414, allocations: 50 kB / 0.9332 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2414, allocations: 0 / 0.9332 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2414, allocations: 3.984 kB / 0.9332 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2415, allocations: 0 / 0.9332 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2417, allocations: 31.91 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.2421, allocations: 264.8 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2423, allocations: 30.56 kB / 0.9335 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2424, allocations: 12.92 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/0.2442, allocations: 0.4975 MB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2443, allocations: 34.5 kB / 0.934 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.2443, allocations: 3.938 kB / 0.9341 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0004972/0.2448, allocations: 65.67 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2449, allocations: 55.41 kB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.245, allocations: 110 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.245, allocations: 25.7 kB / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.2451, allocations: 88.14 kB / 0.9344 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2451, allocations: 7.891 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.2452, allocations: 0 / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.2452, allocations: 314.8 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2454, allocations: 8 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2455, allocations: 15.98 kB / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.2456, allocations: 19.88 kB / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2457, allocations: 0 / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002837/0.2459, allocations: 61.67 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.246, allocations: 4 kB / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.246, allocations: 0 / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2461, allocations: 4.094 kB / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2462, allocations: 4 kB / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2462, allocations: 320 / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.2463, allocations: 11.89 kB / 0.9348 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2464, allocations: 0 / 0.9348 GB, free: 20.67 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 (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 9.149e-05/0.2465, allocations: 121.8 kB / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.2465, allocations: 0 / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.2469, allocations: 73.08 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2469, allocations: 4 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2469, allocations: 0 / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2469, allocations: 0 / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.2472, allocations: 169.6 kB / 0.9352 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2472, allocations: 0 / 0.9352 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2473, allocations: 8 kB / 0.9352 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2474, allocations: 0 / 0.9352 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2474, allocations: 0 / 0.9352 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2474, allocations: 4.031 kB / 0.9352 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2474, allocations: 0 / 0.9352 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.2478, allocations: 163.3 kB / 0.9353 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2478, allocations: 81.11 kB / 0.9354 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.2479, allocations: 4 kB / 0.9354 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.248, allocations: 8.031 kB / 0.9354 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2481, allocations: 3.984 kB / 0.9354 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.2481, allocations: 0 / 0.9354 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.2482, allocations: 91.27 kB / 0.9355 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.61e-07/0.2482, allocations: 0 / 0.9355 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005134/0.2487, allocations: 23.92 kB / 0.9355 GB, free: 19.83 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 (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.0002523/0.249, allocations: 111.2 kB / 0.9356 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.2493, allocations: 35.97 kB / 0.9357 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2493, allocations: 0 / 0.9357 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2495, allocations: 15.94 kB / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.2499, allocations: 3.938 kB / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.2504, allocations: 140.9 kB / 0.9358 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.2506, allocations: 0.677 MB / 0.9365 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.2506, allocations: 7.984 kB / 0.9365 GB, free: 18.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2507, allocations: 7.438 kB / 0.9365 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/0.2507, allocations: 0 / 0.9365 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of Templates: time 0.005049/0.2558, allocations: 0.6227 MB / 0.9371 GB, free: 18.15 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)