Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001779/0.001779, allocations: 110 kB / 18.93 MB, free: 2.945 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.001875/0.001875, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13 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.788/2.788, allocations: 476.7 MB / 0.7646 GB, free: 9.848 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.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_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1")
translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8648, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002727/0.8675, allocations: 1.442 MB / 1.276 GB, free: 2.723 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0005006/0.868, allocations: 163.5 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.868, allocations: 0 / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.8681, allocations: 4 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.8681, allocations: 3.938 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.8685, allocations: 31.91 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.8685, allocations: 27.91 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.8686, allocations: 4 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.8687, allocations: 15.94 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.8687, allocations: 11.98 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.8687, allocations: 0 / 1.276 GB, free: 2.465 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.8688, allocations: 47.89 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.8689, allocations: 11.92 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.8689, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.869, allocations: 54.48 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.869, allocations: 4 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.443e-06/0.869, allocations: 0 / 1.276 GB, free: 2.352 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.007e-05/0.8691, allocations: 0 / 1.276 GB, free: 2.352 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.0004727/0.8695, allocations: 269.9 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8696, allocations: 12.03 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.8696, allocations: 4.891 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.8697, allocations: 110.5 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.8697, allocations: 4.375 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.8698, allocations: 4.359 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.8699, allocations: 46.25 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.87, allocations: 192 / 1.277 GB, free: 1.852 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.87, allocations: 11.88 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.87, allocations: 0 / 1.277 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.8701, allocations: 35.95 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.8705, allocations: 219.9 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.8706, allocations: 42.53 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.8707, allocations: 28.91 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.8708, allocations: 7.984 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.8709, allocations: 30.56 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.8709, allocations: 0 / 1.277 GB, free: 1.418 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0003815/0.8713, allocations: 89.67 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.8713, allocations: 51.41 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.8714, allocations: 97.86 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.8714, allocations: 25.7 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.8715, allocations: 88.08 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.8715, allocations: 7.953 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.8715, allocations: 13.72 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001338/0.8717, allocations: 310.8 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.8717, allocations: 24.02 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.8718, allocations: 15.97 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.8719, allocations: 36.83 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8719, allocations: 0 / 1.278 GB, free: 0.6172 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.8721, allocations: 77.59 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8722, allocations: 4 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8722, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.8722, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.8723, allocations: 11.98 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.8723, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.8723, allocations: 8 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.8723, allocations: 0 / 1.278 GB, free: 0.5117 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 8.129e-05/0.8724, allocations: 117.8 kB / 1.278 GB, free: 396 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.8724, allocations: 7.938 kB / 1.278 GB, free: 388 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.8727, allocations: 72.91 kB / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8727, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8727, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8727, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.8728, allocations: 132.7 kB / 1.278 GB, free: 136 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8728, allocations: 3.938 kB / 1.278 GB, free: 132 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.8729, allocations: 12.02 kB / 1.278 GB, free: 120 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8729, allocations: 192 / 1.278 GB, free: 120 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.8729, allocations: 0 / 1.278 GB, free: 120 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8729, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8729, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.8732, allocations: 171.4 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.8732, allocations: 7.969 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.8732, allocations: 7.984 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.8733, allocations: 4 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.8733, allocations: 3.984 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.8733, allocations: 4 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.292e-05/0.8734, allocations: 79.22 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8734, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002371/0.8736, allocations: 16 kB / 1.278 GB, free: 15.81 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 (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.0001866/0.8738, allocations: 111.2 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002242/0.874, allocations: 35.97 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.874, allocations: 0 / 1.278 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.8741, allocations: 15.97 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.8744, allocations: 18.09 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.8747, allocations: 97.55 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.875, allocations: 0.6767 MB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.166e-05/0.875, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.875, allocations: 11.42 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.71e-07/0.875, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003177/0.8782, allocations: 0.66 MB / 1.28 GB, free: 14.13 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.81115909293294]