Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002613/0.002613, allocations: 212.4 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.342/3.342, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 70.27 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001768/0.3665, allocations: 0.5902 MB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003541/0.3668, allocations: 96.09 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-06/0.3668, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.3668, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-06/0.3668, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3672, allocations: 31.89 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.022e-05/0.3672, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.3672, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.074e-05/0.3673, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.334e-05/0.3673, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3673, allocations: 3.938 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3674, allocations: 39.95 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.3674, allocations: 4 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.3674, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.3675, allocations: 27.89 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3675, allocations: 4 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3675, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3675, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002805/0.3678, allocations: 238.4 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3678, allocations: 12.03 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.3679, allocations: 8.906 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.218e-05/0.368, allocations: 106.5 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.368, allocations: 384 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.368, allocations: 8.375 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.3681, allocations: 26.27 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3681, allocations: 192 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3681, allocations: 7.875 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3681, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.3681, allocations: 8 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3682, allocations: 93.33 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.3683, allocations: 26.53 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.3683, allocations: 4.859 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.3685, allocations: 8.062 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3685, allocations: 38.55 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3685, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.3686, allocations: 37.64 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3687, allocations: 51.41 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.3687, allocations: 89.86 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3687, allocations: 25.7 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.3688, allocations: 84.08 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.3688, allocations: 0 / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3688, allocations: 17.72 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.369, allocations: 314.8 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.369, allocations: 4.125 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.369, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.369, allocations: 4.859 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.369, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.685e-05/0.3691, allocations: 37.7 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3691, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3691, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3691, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.3691, allocations: 11.88 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3691, allocations: 4.094 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.3691, allocations: 7.922 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3691, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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 7.032e-05/0.3692, allocations: 105.8 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.3692, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.3693, allocations: 32.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3693, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3693, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3693, allocations: 3.984 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.838e-05/0.3694, allocations: 97.33 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3694, allocations: 4.031 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.3694, allocations: 8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3694, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.3694, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3694, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3694, allocations: 7.875 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.318e-05/0.3695, allocations: 61.06 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-06/0.3695, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3695, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.3695, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.3695, allocations: 7.969 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.3695, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.927e-05/0.3696, allocations: 75.28 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001838/0.3698, allocations: 4 kB / 1.366 GB, free: 10.82 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.0001811/0.37, allocations: 111.2 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.3701, allocations: 11.94 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3701, allocations: 0 / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.3701, allocations: 0 / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3702, allocations: 0.9375 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.3704, allocations: 84.86 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.3704, allocations: 55.36 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.156e-05/0.3704, allocations: 3.984 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.3705, allocations: 7.438 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3705, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of Templates: time 0.002564/0.373, allocations: 384.1 kB / 1.367 GB, free: 10.12 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.853361122310162]