Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001587/0.001587, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 475.9 MB / 0.7699 GB, free: 4.801 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002176/0.002176, allocations: 65.5 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001815/0.341, allocations: 0.5887 MB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.3414, allocations: 83.69 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.306e-05/0.3414, allocations: 4 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.3415, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-06/0.3415, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3419, allocations: 31.89 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.501e-05/0.3419, allocations: 4 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.342, allocations: 4 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.342, allocations: 0 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.342, allocations: 0 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.342, allocations: 3.938 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3422, allocations: 39.89 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3422, allocations: 7.984 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.3422, allocations: 7.938 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3423, allocations: 27.91 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3423, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3423, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3423, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 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.0003217/0.3427, allocations: 242.4 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3427, allocations: 12.03 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.3428, allocations: 0.9375 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.3429, allocations: 106.6 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.343, allocations: 4.312 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.343, allocations: 4.375 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3431, allocations: 38.25 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3431, allocations: 4.172 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3431, allocations: 3.938 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3431, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.3431, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.3433, allocations: 101.3 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.3434, allocations: 18.52 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.3434, allocations: 8.953 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.3436, allocations: 7.984 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3437, allocations: 38.56 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.3437, allocations: 0 / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002173/0.3439, allocations: 33.64 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.344, allocations: 55.41 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.344, allocations: 93.84 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3441, allocations: 25.7 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.3441, allocations: 80.14 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.3442, allocations: 3.953 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.3442, allocations: 13.72 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3444, allocations: 318.8 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.3444, allocations: 8.062 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.3444, allocations: 0 / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.3444, allocations: 8.859 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3444, allocations: 0 / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.821e-05/0.3445, allocations: 33.69 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3445, allocations: 10.34 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3445, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3445, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.3446, allocations: 7.875 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3446, allocations: 4.094 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.3446, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.3446, allocations: 3.938 kB / 1.285 GB, free: 9.703 MB / 0.9825 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.511e-05/0.3447, allocations: 109.8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.3447, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.3448, allocations: 36.69 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3448, allocations: 7.938 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3448, allocations: 0 / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3448, allocations: 0 / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.849e-05/0.3449, allocations: 97.31 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3449, allocations: 4.031 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.3449, allocations: 4 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3449, allocations: 0 / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3449, allocations: 3.984 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3449, allocations: 0 / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3449, allocations: 3.938 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.345, allocations: 61.08 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.345, allocations: 4 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3451, allocations: 0 / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.3451, allocations: 0 / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.3451, allocations: 11.92 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3451, allocations: 4.031 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.3451, allocations: 75.28 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3451, allocations: 0 / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003263/0.3455, allocations: 11.94 kB / 1.285 GB, free: 9.215 MB / 0.9825 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.0002681/0.3457, allocations: 111.2 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.3458, allocations: 4 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3458, allocations: 8 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.3458, allocations: 4 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.346, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.3463, allocations: 80.88 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.3464, allocations: 59.34 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.3464, allocations: 7.984 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.3464, allocations: 7.438 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3464, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of Templates: time 0.003617/0.35, allocations: 391.8 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.81153755262494]