Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8776/0.8776, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.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.001075/0.001076, allocations: 183.3 kB / 192 MB, free: 6.719 MB / 154.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.478/1.478, allocations: 225.7 MB / 450.4 MB, free: 6.734 MB / 330.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.000945/0.000945, allocations: 111.5 kB / 0.5211 GB, free: 3.395 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 275 kB / 0.6025 GB, free: 49.55 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004415, allocations: 12 kB / 0.6948 GB, free: 2.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 82.46 MB / 0.7753 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006334/0.3547, allocations: 331.6 kB / 0.7756 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.3551, allocations: 236.7 kB / 0.7759 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.3551, allocations: 0 / 0.7759 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.3551, allocations: 0.875 kB / 0.7759 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.104e-05/0.3552, allocations: 0 / 0.7759 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3554, allocations: 30.78 kB / 0.7759 GB, free: 26.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.53e-05/0.3554, allocations: 15.92 kB / 0.7759 GB, free: 26.36 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.3555, allocations: 7.938 kB / 0.7759 GB, free: 26.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.676e-05/0.3555, allocations: 7.984 kB / 0.7759 GB, free: 26.35 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.3556, allocations: 0 / 0.7759 GB, free: 26.35 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.3556, allocations: 4 kB / 0.7759 GB, free: 26.34 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.3557, allocations: 31.97 kB / 0.776 GB, free: 26.31 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.3557, allocations: 8.734 kB / 0.776 GB, free: 26.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.3557, allocations: 41.62 kB / 0.776 GB, free: 26.26 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.198e-05/0.3558, allocations: 34.17 kB / 0.776 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3558, allocations: 0 / 0.776 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3558, allocations: 0 / 0.776 GB, free: 26.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.3558, allocations: 0 / 0.776 GB, free: 26.23 MB / 458.7 MB 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.0002691/0.3561, allocations: 326.3 kB / 0.7764 GB, free: 25.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3562, allocations: 9.281 kB / 0.7764 GB, free: 25.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.3562, allocations: 4.938 kB / 0.7764 GB, free: 25.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.003e-05/0.3563, allocations: 164.4 kB / 0.7765 GB, free: 25.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3563, allocations: 4.375 kB / 0.7765 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3563, allocations: 4.375 kB / 0.7765 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3564, allocations: 38.25 kB / 0.7766 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3564, allocations: 8.188 kB / 0.7766 GB, free: 25.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3564, allocations: 7.875 kB / 0.7766 GB, free: 25.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3565, allocations: 0 / 0.7766 GB, free: 25.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.3565, allocations: 15.98 kB / 0.7766 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.3566, allocations: 161.6 kB / 0.7768 GB, free: 25.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.851e-05/0.3567, allocations: 50.55 kB / 0.7768 GB, free: 25.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.3567, allocations: 20.98 kB / 0.7768 GB, free: 25.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.3568, allocations: 77.11 kB / 0.7769 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3568, allocations: 42.48 kB / 0.7769 GB, free: 25.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3569, allocations: 0 / 0.7769 GB, free: 25.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.001059/0.3579, allocations: 491.9 kB / 0.7774 GB, free: 24.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.358, allocations: 55.41 kB / 0.7775 GB, free: 24.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.358, allocations: 93.86 kB / 0.7775 GB, free: 24.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.358, allocations: 25.7 kB / 0.7776 GB, free: 24.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.175e-05/0.358, allocations: 84.12 kB / 0.7776 GB, free: 24.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3581, allocations: 23.7 kB / 0.7777 GB, free: 24.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.3581, allocations: 0 / 0.7777 GB, free: 24.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.3581, allocations: 314.8 kB / 0.778 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.3582, allocations: 16.11 kB / 0.778 GB, free: 23.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.3582, allocations: 16.06 kB / 0.778 GB, free: 23.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.3582, allocations: 40.78 kB / 0.778 GB, free: 23.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3583, allocations: 0 / 0.778 GB, free: 23.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.217e-05/0.3583, allocations: 65.69 kB / 0.7781 GB, free: 23.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.3584, allocations: 7.938 kB / 0.7781 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3584, allocations: 4.438 kB / 0.7781 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.3584, allocations: 0 / 0.7781 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.3585, allocations: 8 kB / 0.7781 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3585, allocations: 4 kB / 0.7781 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.3585, allocations: 8 kB / 0.7781 GB, free: 23.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3585, allocations: 3.984 kB / 0.7781 GB, free: 23.77 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3586, allocations: 117.8 kB / 0.7783 GB, free: 23.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.3586, allocations: 7.844 kB / 0.7783 GB, free: 23.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.3587, allocations: 89.56 kB / 0.7783 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3587, allocations: 3.938 kB / 0.7783 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3588, allocations: 0 / 0.7783 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3588, allocations: 0 / 0.7783 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.34e-05/0.3588, allocations: 161.7 kB / 0.7785 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3588, allocations: 3.984 kB / 0.7785 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.3589, allocations: 16 kB / 0.7785 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3589, allocations: 7.875 kB / 0.7785 GB, free: 23.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3589, allocations: 4 kB / 0.7785 GB, free: 23.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.359, allocations: 0 / 0.7785 GB, free: 23.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.359, allocations: 0 / 0.7785 GB, free: 23.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3591, allocations: 109.1 kB / 0.7786 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3591, allocations: 92.95 kB / 0.7787 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3591, allocations: 12.02 kB / 0.7787 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.3592, allocations: 0 / 0.7787 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.3592, allocations: 4 kB / 0.7787 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3592, allocations: 0 / 0.7787 GB, free: 23.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.714e-05/0.3593, allocations: 75.28 kB / 0.7788 GB, free: 22.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3593, allocations: 4 kB / 0.7788 GB, free: 22.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.3594, allocations: 31.98 kB / 0.7788 GB, free: 22.94 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.3596, allocations: 140.1 kB / 0.779 GB, free: 22.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.3597, allocations: 40.36 kB / 0.779 GB, free: 22.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3597, allocations: 0 / 0.779 GB, free: 22.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.3598, allocations: 19.94 kB / 0.779 GB, free: 22.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3599, allocations: 8 kB / 0.779 GB, free: 22.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.3602, allocations: 149.2 kB / 0.7792 GB, free: 22.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3603, allocations: 0.6848 MB / 0.7799 GB, free: 21.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.3603, allocations: 7.984 kB / 0.7799 GB, free: 21.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.3604, allocations: 11.44 kB / 0.7799 GB, free: 21.83 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.3604, allocations: 0 / 0.7799 GB, free: 21.83 MB / 458.7 MB Notification: Performance of Templates: time 0.00256/0.3629, allocations: 0.8597 MB / 0.7807 GB, free: 20.97 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)