Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 117.9 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.875/2.875, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003404/0.003404, allocations: 67.89 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3974, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002815/0.4002, allocations: 1.442 MB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004688/0.4006, allocations: 160.3 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.4007, allocations: 4 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.4007, allocations: 3.984 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.4007, allocations: 11.92 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.4011, allocations: 31.91 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.4011, allocations: 19.94 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.4012, allocations: 7.984 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.4012, allocations: 8 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.4013, allocations: 11.91 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.4013, allocations: 4 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4014, allocations: 47.91 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.4015, allocations: 7.984 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.4015, allocations: 7.938 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.4016, allocations: 47.81 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4016, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4016, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4016, allocations: 4 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005182/0.4022, allocations: 343.3 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4022, allocations: 12.03 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.4023, allocations: 8.875 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4024, allocations: 164.4 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.4024, allocations: 384 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4024, allocations: 4.375 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.4026, allocations: 54.17 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4026, allocations: 192 / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4026, allocations: 7.922 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4026, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.4028, allocations: 31.97 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.4032, allocations: 252.9 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.4033, allocations: 42.44 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4034, allocations: 24.89 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.4036, allocations: 81.11 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4036, allocations: 38.55 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4036, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.404, allocations: 77.66 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.404, allocations: 51.41 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.4041, allocations: 105.8 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4041, allocations: 29.83 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.4042, allocations: 84.14 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.4042, allocations: 7.891 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.4042, allocations: 21.7 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4044, allocations: 310.8 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.4045, allocations: 15.98 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.4046, allocations: 11.98 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4047, allocations: 44.88 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4047, allocations: 0 / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.4049, allocations: 69.56 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.405, allocations: 4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.405, allocations: 7.984 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.405, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.4051, allocations: 15.97 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4051, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.4051, allocations: 11.98 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.4051, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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 0.0001007/0.4052, allocations: 113.8 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.4053, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.4055, allocations: 76.77 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4055, allocations: 3.984 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4055, allocations: 4 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4055, allocations: 3.938 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.4057, allocations: 157.6 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4057, allocations: 0 / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.4058, allocations: 7.984 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4058, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4058, allocations: 4 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4058, allocations: 3.938 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4058, allocations: 4.031 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.4061, allocations: 163.5 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.4061, allocations: 81.06 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.4061, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.4062, allocations: 7.984 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.4062, allocations: 4.031 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4062, allocations: 7.938 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.4063, allocations: 79.27 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4063, allocations: 4 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002412/0.4065, allocations: 11.94 kB / 1.218 GB, free: 12.12 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0001941/0.4067, allocations: 111.2 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.4069, allocations: 43.89 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4069, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.407, allocations: 15.98 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.4073, allocations: 12.27 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.4076, allocations: 123.2 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4079, allocations: 0.6808 MB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.408, allocations: 11.44 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.408, allocations: 0 / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of Templates: time 0.002562/0.4105, allocations: 0.7656 MB / 1.22 GB, free: 10.29 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.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: 11.480783465085551]