Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001802/0.001802, allocations: 108.6 kB / 16.45 MB, free: 6.508 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.002189/0.002189, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.168/3.168, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002068/0.002068, allocations: 65.59 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3681, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001797/0.3699, allocations: 0.598 MB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.3703, allocations: 99.69 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.3703, allocations: 3.938 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.3703, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.3703, allocations: 4 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3707, allocations: 27.92 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.3707, allocations: 3.984 kB / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.3707, allocations: 4 kB / 1.322 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.3708, allocations: 7.984 kB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.791e-05/0.3708, allocations: 0 / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.3708, allocations: 0 / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.371, allocations: 35.91 kB / 1.322 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.371, allocations: 0 / 1.322 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.371, allocations: 3.938 kB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3711, allocations: 31.89 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3711, allocations: 0 / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.572e-06/0.3711, allocations: 4 kB / 1.322 GB, free: 1.949 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3711, allocations: 0 / 1.322 GB, free: 1.949 MB / 1.014 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.0003616/0.3715, allocations: 319.9 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3715, allocations: 11.98 kB / 1.322 GB, free: 1.574 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.3716, allocations: 0.9375 kB / 1.322 GB, free: 1.574 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3717, allocations: 160.4 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3717, allocations: 384 / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3717, allocations: 4.312 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.3718, allocations: 34.27 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3718, allocations: 4.188 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3718, allocations: 3.938 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3718, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.3718, allocations: 3.984 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.372, allocations: 149.6 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.3721, allocations: 14.58 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.3721, allocations: 16.8 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.3723, allocations: 89.19 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3723, allocations: 38.55 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3723, allocations: 0 / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.3725, allocations: 37.62 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3725, allocations: 51.41 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.3726, allocations: 89.86 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3726, allocations: 29.7 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.3726, allocations: 80.14 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.3727, allocations: 8.078 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.3727, allocations: 17.66 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3729, allocations: 310.8 kB / 1.323 GB, free: 276 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.3729, allocations: 3.938 kB / 1.323 GB, free: 272 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-06/0.3729, allocations: 4 kB / 1.323 GB, free: 268 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/0.3729, allocations: 4.859 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3729, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.272e-05/0.373, allocations: 45.75 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.373, allocations: 4 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.373, allocations: 0 / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.373, allocations: 3.938 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.664e-05/0.373, allocations: 4 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.373, allocations: 0 / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-06/0.3731, allocations: 0 / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3731, allocations: 0 / 1.324 GB, free: 196 kB / 1.014 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 8.769e-05/0.3731, allocations: 109.8 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.3732, allocations: 4.031 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.3732, allocations: 48.73 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3732, allocations: 4 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3733, allocations: 0 / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.3733, allocations: 0 / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3734, allocations: 145.7 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3734, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.3734, allocations: 4 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3734, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3734, allocations: 3.938 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3734, allocations: 8.031 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3734, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.3735, allocations: 61.08 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3736, allocations: 81.09 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.3736, allocations: 3.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.3736, allocations: 3.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.3736, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3736, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.3736, allocations: 79.31 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3736, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001992/0.3738, allocations: 11.94 kB / 1.324 GB, free: 15.53 MB / 1.029 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.0002088/0.374, allocations: 119.2 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.3741, allocations: 4 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3741, allocations: 4.062 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.3741, allocations: 3.938 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.3743, allocations: 8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.3744, allocations: 80.92 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3748, allocations: 0.6728 MB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.288e-06/0.3748, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.3748, allocations: 11.44 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3748, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Templates: time 0.002727/0.3775, allocations: 400.5 kB / 1.325 GB, free: 14.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.646683024708182]