Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005843/0.005843, allocations: 238.9 kB / 15.81 MB, free: 6.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001693/0.001693, allocations: 183.4 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.696/3.696, allocations: 389.1 MB / 406.5 MB, free: 6.785 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.739/4.739, allocations: 472.3 MB / 0.9023 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004963, allocations: 12 kB / 1.008 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 98.7 MB / 1.105 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002242/0.2265, allocations: 1.171 MB / 1.106 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2279, allocations: 0.5478 MB / 1.106 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.2279, allocations: 4 kB / 1.106 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.228, allocations: 0 / 1.106 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.228, allocations: 3.938 kB / 1.106 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2283, allocations: 35.89 kB / 1.106 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.2284, allocations: 27.92 kB / 1.106 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.2285, allocations: 3.984 kB / 1.106 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2287, allocations: 23.86 kB / 1.106 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.2287, allocations: 7.938 kB / 1.106 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2288, allocations: 4 kB / 1.106 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.2289, allocations: 47.95 kB / 1.106 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.229, allocations: 7.984 kB / 1.106 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.229, allocations: 25.7 kB / 1.106 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2292, allocations: 39.94 kB / 1.106 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.2292, allocations: 4 kB / 1.106 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2292, allocations: 0 / 1.106 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2292, allocations: 3.938 kB / 1.107 GB, free: 1.902 MB / 0.7448 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.0005554/0.2298, allocations: 355.3 kB / 1.107 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2298, allocations: 8.031 kB / 1.107 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.2299, allocations: 7.922 kB / 1.107 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.23, allocations: 171 kB / 1.107 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2301, allocations: 0 / 1.107 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2301, allocations: 4 kB / 1.107 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.2303, allocations: 45.67 kB / 1.107 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2303, allocations: 0 / 1.107 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2303, allocations: 4 kB / 1.107 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2303, allocations: 4 kB / 1.107 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2305, allocations: 19.98 kB / 1.107 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.2309, allocations: 260.9 kB / 1.107 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2311, allocations: 30.56 kB / 1.107 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.2312, allocations: 20.92 kB / 1.107 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.2325, allocations: 0.4897 MB / 1.108 GB, free: 260 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2326, allocations: 30.56 kB / 1.108 GB, free: 220 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 3.466e-06/0.2326, allocations: 0 / 1.108 GB, free: 220 kB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004066/0.233, allocations: 81.52 kB / 1.108 GB, free: 132 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2331, allocations: 51.41 kB / 1.108 GB, free: 68 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2332, allocations: 105.8 kB / 1.108 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2333, allocations: 25.7 kB / 1.108 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.2334, allocations: 92.08 kB / 1.108 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.2334, allocations: 3.906 kB / 1.108 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.2334, allocations: 0 / 1.108 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2336, allocations: 326.9 kB / 1.109 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.2337, allocations: 8 kB / 1.109 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.2338, allocations: 15.98 kB / 1.109 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.2339, allocations: 8 kB / 1.109 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2339, allocations: 0 / 1.109 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002236/0.2341, allocations: 65.67 kB / 1.109 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.2341, allocations: 8 kB / 1.109 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2342, allocations: 0 / 1.109 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2342, allocations: 0 / 1.109 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2343, allocations: 4 kB / 1.109 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2343, allocations: 0 / 1.109 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.2344, allocations: 8 kB / 1.109 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2344, allocations: 3.984 kB / 1.109 GB, free: 15.37 MB / 0.7605 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 0.0001034/0.2345, allocations: 117.8 kB / 1.109 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.2346, allocations: 7.844 kB / 1.109 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.2348, allocations: 69.2 kB / 1.109 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2349, allocations: 0 / 1.109 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2349, allocations: 3.938 kB / 1.109 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.2349, allocations: 81.11 kB / 1.109 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.235, allocations: 7.969 kB / 1.109 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.2351, allocations: 7.953 kB / 1.109 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2351, allocations: 3.984 kB / 1.109 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002542/0.2354, allocations: 129 kB / 1.109 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002867/0.2357, allocations: 234.8 kB / 1.109 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.701e-05/0.2358, allocations: 23.92 kB / 1.109 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.2359, allocations: 87.58 kB / 1.109 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of Backend: time 8.02e-07/0.2359, allocations: 0 / 1.109 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005868/0.2365, allocations: 114.4 kB / 1.11 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of SimCode: time 0.0005335/0.237, allocations: 0.5799 MB / 1.11 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.00391/0.241, allocations: 0.7027 MB / 1.111 GB, free: 13.11 MB / 0.7605 GB