Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.622/1.622, allocations: 291.7 MB / 306.8 MB, free: 7.695 MB / 234.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.001157/0.001157, allocations: 182.4 kB / 375.4 MB, free: 5.109 MB / 298.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.507/1.507, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.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.001091/0.001091, allocations: 96.08 kB / 0.7699 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005911/0.0005911, allocations: 19.98 kB / 0.8956 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7401, allocations: 118.1 MB / 1.011 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009052/0.7411, allocations: 335.3 kB / 1.011 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004215/0.7415, allocations: 143.7 kB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.7416, allocations: 3.969 kB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.7416, allocations: 0 / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.029e-05/0.7416, allocations: 0 / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.742, allocations: 29.62 kB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.742, allocations: 18.36 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.7421, allocations: 3.984 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.7421, allocations: 5.484 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.7422, allocations: 8.484 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.7422, allocations: 2.969 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.7423, allocations: 31.62 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.7424, allocations: 7.219 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.7424, allocations: 29.52 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.7425, allocations: 17.94 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7425, allocations: 1.906 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7425, allocations: 0 / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7425, allocations: 0 / 1.012 GB, free: 57.69 MB / 0.7136 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.0003602/0.7429, allocations: 328.5 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.743, allocations: 8.812 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.743, allocations: 6.719 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.7431, allocations: 165 kB / 1.012 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.7432, allocations: 0.9062 kB / 1.012 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.7432, allocations: 4.656 kB / 1.012 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.7433, allocations: 50.7 kB / 1.012 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7434, allocations: 192 / 1.012 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.7434, allocations: 4.562 kB / 1.012 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7434, allocations: 0 / 1.012 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.7435, allocations: 12.7 kB / 1.012 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.7437, allocations: 168.4 kB / 1.012 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.7438, allocations: 44.23 kB / 1.012 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.7438, allocations: 18.88 kB / 1.012 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.6e-05/0.7439, allocations: 88.12 kB / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.744, allocations: 33.25 kB / 1.012 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.744, allocations: 1.094 kB / 1.012 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001565/0.7455, allocations: 494.7 kB / 1.013 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.7456, allocations: 54.19 kB / 1.013 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.7457, allocations: 93.92 kB / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.7457, allocations: 28.73 kB / 1.013 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.7457, allocations: 80.14 kB / 1.013 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.7458, allocations: 21.45 kB / 1.013 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.7458, allocations: 7.75 kB / 1.013 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.7459, allocations: 312.2 kB / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.7459, allocations: 14.95 kB / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.746, allocations: 12.47 kB / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.7461, allocations: 39.84 kB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.7461, allocations: 3.906 kB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000151/0.7462, allocations: 68.28 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7463, allocations: 13.33 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7463, allocations: 0 / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7463, allocations: 2.844 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.7464, allocations: 13.88 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.7464, allocations: 4.797 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.7465, allocations: 0.7031 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.7465, allocations: 6.75 kB / 1.014 GB, free: 55.72 MB / 0.7136 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 7.452e-05/0.7466, allocations: 111.7 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.7466, allocations: 8.156 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.7468, allocations: 80.69 kB / 1.014 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7469, allocations: 2.938 kB / 1.014 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7469, allocations: 0 / 1.014 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.7469, allocations: 2.109 kB / 1.014 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.747, allocations: 164 kB / 1.014 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.747, allocations: 0 / 1.014 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.7471, allocations: 17.25 kB / 1.014 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7472, allocations: 6.969 kB / 1.014 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7472, allocations: 6.5 kB / 1.014 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7472, allocations: 2.938 kB / 1.014 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7472, allocations: 0 / 1.014 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.7474, allocations: 122.7 kB / 1.014 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.7475, allocations: 83.98 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.7475, allocations: 1.188 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.7476, allocations: 0.7969 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.7476, allocations: 5.766 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.7476, allocations: 3.469 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.7477, allocations: 87.05 kB / 1.014 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7477, allocations: 2 kB / 1.014 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003632/0.748, allocations: 26.33 kB / 1.014 GB, free: 55.13 MB / 0.7136 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.000256/0.7483, allocations: 138.4 kB / 1.014 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.7485, allocations: 37.12 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7485, allocations: 2.688 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.7485, allocations: 23.7 kB / 1.015 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.7488, allocations: 9.531 kB / 1.015 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.7491, allocations: 143.4 kB / 1.015 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.7493, allocations: 0.6845 MB / 1.015 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.7493, allocations: 3.812 kB / 1.015 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.7494, allocations: 15.64 kB / 1.015 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.7494, allocations: 0 / 1.015 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.004216/0.7536, allocations: 0.8321 MB / 1.016 GB, free: 54.2 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)