Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0117/0.01171, allocations: 89.08 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001162/0.001162, allocations: 170 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.428/2.428, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.344/2.344, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004845, allocations: 14.53 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00132/0.2231, allocations: 337 kB / 0.7284 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006498/0.2238, allocations: 149.2 kB / 0.7285 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.2239, allocations: 0 / 0.7285 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2239, allocations: 3.938 kB / 0.7286 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.224, allocations: 0 / 0.7286 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2244, allocations: 27.91 kB / 0.7286 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.2245, allocations: 11.98 kB / 0.7286 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.2246, allocations: 4 kB / 0.7286 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.2246, allocations: 7.938 kB / 0.7286 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2247, allocations: 11.97 kB / 0.7286 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2248, allocations: 4 kB / 0.7286 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.225, allocations: 23.97 kB / 0.7286 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.225, allocations: 4 kB / 0.7286 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.2251, allocations: 29.7 kB / 0.7287 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2252, allocations: 19.95 kB / 0.7287 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2253, allocations: 0 / 0.7287 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2253, allocations: 0 / 0.7287 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.2253, allocations: 0 / 0.7287 GB, free: 9.504 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006362/0.226, allocations: 331.4 kB / 0.729 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/0.2261, allocations: 12.03 kB / 0.729 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.2261, allocations: 30.56 kB / 0.729 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.2262, allocations: 0 / 0.729 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.2264, allocations: 167 kB / 0.7292 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2264, allocations: 0 / 0.7292 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.2265, allocations: 7.984 kB / 0.7292 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2267, allocations: 41.69 kB / 0.7293 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2267, allocations: 7.938 kB / 0.7293 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2268, allocations: 0 / 0.7293 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.2268, allocations: 4 kB / 0.7293 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2269, allocations: 19.92 kB / 0.7293 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.2273, allocations: 161.9 kB / 0.7294 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2275, allocations: 46.56 kB / 0.7295 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.2277, allocations: 85.09 kB / 0.7296 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.2278, allocations: 34.56 kB / 0.7296 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 3.286e-06/0.2278, allocations: 0 / 0.7296 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.002674/0.2305, allocations: 480.1 kB / 0.7301 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2305, allocations: 59.34 kB / 0.7301 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.2307, allocations: 93.84 kB / 0.7302 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2307, allocations: 29.7 kB / 0.7302 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.2308, allocations: 84.27 kB / 0.7303 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.2309, allocations: 27.64 kB / 0.7303 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.2309, allocations: 0 / 0.7303 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2311, allocations: 322.8 kB / 0.7306 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.2312, allocations: 8 kB / 0.7307 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.2312, allocations: 15.98 kB / 0.7307 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.2314, allocations: 12 kB / 0.7307 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2314, allocations: 0 / 0.7307 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002605/0.2317, allocations: 69.86 kB / 0.7307 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2317, allocations: 8 kB / 0.7308 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2317, allocations: 4 kB / 0.7308 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2318, allocations: 0 / 0.7308 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.232, allocations: 12 kB / 0.7308 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.232, allocations: 4.062 kB / 0.7308 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.2321, allocations: 3.984 kB / 0.7308 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2321, allocations: 4.438 kB / 0.7308 GB, free: 7.055 MB / 0.5573 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 (8): * Single equations (assignments): 8 * 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.0001279/0.2323, allocations: 113.8 kB / 0.7309 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.2323, allocations: 7.906 kB / 0.7309 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.2327, allocations: 89.56 kB / 0.731 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2327, allocations: 0 / 0.731 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.2328, allocations: 4 kB / 0.731 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2328, allocations: 11.92 kB / 0.731 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.233, allocations: 165.6 kB / 0.7312 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.233, allocations: 0 / 0.7312 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2332, allocations: 12 kB / 0.7312 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.2333, allocations: 4 kB / 0.7312 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2333, allocations: 0 / 0.7312 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2333, allocations: 0 / 0.7312 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2333, allocations: 4 kB / 0.7312 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.2338, allocations: 113 kB / 0.7313 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.2339, allocations: 89.03 kB / 0.7314 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2339, allocations: 4 kB / 0.7314 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.234, allocations: 0 / 0.7314 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2341, allocations: 7.984 kB / 0.7314 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.2341, allocations: 4 kB / 0.7314 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.2342, allocations: 79.34 kB / 0.7315 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.62e-07/0.2342, allocations: 0 / 0.7315 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005109/0.2347, allocations: 39.92 kB / 0.7315 GB, free: 6.215 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.001042/0.2358, allocations: 0.6798 MB / 0.7322 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.2361, allocations: 40.14 kB / 0.7322 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2362, allocations: 0 / 0.7322 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.2363, allocations: 23.94 kB / 0.7322 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.2365, allocations: 10.17 kB / 0.7322 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2377, allocations: 414.8 kB / 0.7326 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2381, allocations: 0.6888 MB / 0.7333 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.2382, allocations: 8.719 kB / 0.7333 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.2383, allocations: 11.44 kB / 0.7333 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.382e-06/0.2384, allocations: 0 / 0.7333 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.2635, allocations: 1.569 MB / 0.7348 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.2639, allocations: 214.5 kB / 0.7351 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/2.746, allocations: 8 kB / 0.7351 GB, free: 2.555 MB / 0.5573 GB