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.001829/0.001829, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002224/0.002224, allocations: 158.8 kB / 23.01 MB, free: 4.941 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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 2.767/2.767, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.002119/0.002119, allocations: 63.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7696, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001451/0.7711, allocations: 0.5867 MB / 1.155 GB, free: 33.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.7714, allocations: 91.66 kB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.065e-05/0.7714, allocations: 2.656 kB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.7714, allocations: 0 / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-06/0.7714, allocations: 0 / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.7717, allocations: 36.06 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.155e-05/0.7718, allocations: 3.938 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.7718, allocations: 2.938 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.045e-05/0.7718, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.377e-05/0.7718, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-06/0.7718, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.7719, allocations: 40.2 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-06/0.772, allocations: 10.47 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.772, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.639e-05/0.7721, allocations: 30.41 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7721, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7721, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7721, allocations: 3.938 kB / 1.155 GB, free: 32.91 MB / 1.076 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.0001891/0.7723, allocations: 238.5 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.7723, allocations: 10.12 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.7723, allocations: 0.9375 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.817e-05/0.7724, allocations: 109.5 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.7724, allocations: 384 / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-06/0.7724, allocations: 4.375 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.028e-05/0.7725, allocations: 32.42 kB / 1.155 GB, free: 32.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7725, allocations: 192 / 1.155 GB, free: 32.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.7725, allocations: 3.938 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.7725, allocations: 0 / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.7725, allocations: 6.875 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.013e-05/0.7726, allocations: 93.33 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.141e-05/0.7726, allocations: 25.48 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.7726, allocations: 4.859 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.7728, allocations: 8.812 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.7728, allocations: 37.98 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7728, allocations: 0 / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.7729, allocations: 42.45 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.7729, allocations: 54.59 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.733e-05/0.7729, allocations: 89.86 kB / 1.155 GB, free: 32.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-06/0.773, allocations: 25.7 kB / 1.155 GB, free: 32.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-06/0.773, allocations: 84.12 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.773, allocations: 3.953 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.773, allocations: 16.05 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.773, allocations: 311 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.7731, allocations: 7.031 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.7731, allocations: 0 / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.7731, allocations: 11.95 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7731, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.033e-05/0.7731, allocations: 35.83 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.7731, allocations: 6.734 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.7731, allocations: 0 / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7732, allocations: 3.438 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.071e-05/0.7732, allocations: 7.875 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.7732, allocations: 4.094 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-06/0.7732, allocations: 3.938 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.7732, allocations: 3.156 kB / 1.156 GB, free: 31.57 MB / 1.076 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 3.246e-05/0.7732, allocations: 106.6 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.7733, allocations: 0 / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.7733, allocations: 48.91 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7733, allocations: 3.938 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7733, allocations: 0 / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.7733, allocations: 2.438 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.016e-05/0.7733, allocations: 93.33 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.7733, allocations: 4.031 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.7734, allocations: 9.922 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.7734, allocations: 0 / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.7734, allocations: 0 / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7734, allocations: 6.531 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7734, allocations: 3.938 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.234e-05/0.7734, allocations: 54.58 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.7734, allocations: 9.922 kB / 1.156 GB, free: 31.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-06/0.7734, allocations: 0 / 1.156 GB, free: 31.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.7734, allocations: 0 / 1.156 GB, free: 31.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.7734, allocations: 7.969 kB / 1.156 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.7734, allocations: 2.625 kB / 1.156 GB, free: 31.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.168e-06/0.7735, allocations: 75.28 kB / 1.156 GB, free: 31.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.7735, allocations: 3.938 kB / 1.156 GB, free: 31.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000192/0.7736, allocations: 7.812 kB / 1.156 GB, free: 31.11 MB / 1.076 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.0001197/0.7738, allocations: 107.2 kB / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.963e-05/0.7738, allocations: 9 kB / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7738, allocations: 4 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.7738, allocations: 2.281 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.774, allocations: 5.922 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000128/0.7741, allocations: 77.44 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.93e-05/0.7741, allocations: 53.67 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.466e-06/0.7741, allocations: 0 / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.013e-05/0.7741, allocations: 15.67 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.7741, allocations: 0 / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of Templates: time 0.00231/0.7764, allocations: 397.8 kB / 1.157 GB, free: 30.75 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.195194251020439]