Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001322/0.001322, 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.001608/0.001608, allocations: 188 kB / 22.22 MB, free: 5.164 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.507/1.507, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.17/3.17, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1")
translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 69.97 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4096, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.004739/0.4143, allocations: 1.464 MB / 1.309 GB, free: 376 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0007073/0.415, allocations: 159.5 kB / 1.309 GB, free: 216 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.4151, allocations: 4 kB / 1.309 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.4151, allocations: 3.938 kB / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.4152, allocations: 0 / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.4156, allocations: 39.84 kB / 1.309 GB, free: 168 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9e-05/0.4157, allocations: 23.92 kB / 1.309 GB, free: 144 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4158, allocations: 8 kB / 1.309 GB, free: 136 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.4159, allocations: 19.91 kB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.4159, allocations: 8 kB / 1.309 GB, free: 108 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4159, allocations: 0 / 1.309 GB, free: 108 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.4162, allocations: 39.95 kB / 1.309 GB, free: 68 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.4162, allocations: 0 / 1.309 GB, free: 68 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.4162, allocations: 19.86 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.4164, allocations: 43.81 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4164, allocations: 4 kB / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.4164, allocations: 0 / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.37e-06/0.4164, allocations: 0 / 1.309 GB, free: 0 / 0.9981 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.0006546/0.4171, allocations: 266.4 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4171, allocations: 8.922 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.4172, allocations: 8.891 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.4173, allocations: 114.5 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4174, allocations: 384 / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4174, allocations: 384 / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.4177, allocations: 50.23 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4177, allocations: 192 / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4177, allocations: 11.88 kB / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4177, allocations: 0 / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.4179, allocations: 31.97 kB / 1.31 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.4184, allocations: 216 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4186, allocations: 38.5 kB / 1.31 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.4188, allocations: 36.78 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.419, allocations: 7.984 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.4191, allocations: 34.5 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.4191, allocations: 0 / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0007028/0.4198, allocations: 85.73 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4198, allocations: 51.41 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.42, allocations: 101.8 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.42, allocations: 25.7 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.4201, allocations: 84.09 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.4201, allocations: 7.953 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.4202, allocations: 13.72 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002897/0.4205, allocations: 314.8 kB / 1.311 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4206, allocations: 20 kB / 1.311 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.4208, allocations: 19.92 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.4211, allocations: 36.83 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4211, allocations: 0 / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003623/0.4214, allocations: 73.66 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.4214, allocations: 6.031 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4214, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4215, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4216, allocations: 11.98 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4216, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.4217, allocations: 7.984 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4217, allocations: 0 / 1.311 GB, free: 14.16 MB / 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 (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.0001328/0.4218, allocations: 122.5 kB / 1.311 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.4219, allocations: 7.938 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.4223, allocations: 64.97 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4223, allocations: 0 / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4223, allocations: 4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4223, allocations: 0 / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4226, allocations: 148.7 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4226, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.4227, allocations: 8.031 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4227, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4227, allocations: 3.984 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4227, allocations: 4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4227, allocations: 3.938 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.4232, allocations: 167.3 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.4232, allocations: 4.031 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4232, allocations: 4 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.4234, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.4234, allocations: 3.984 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.4234, allocations: 7.938 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.646e-05/0.4235, allocations: 75.28 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.4e-07/0.4235, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004712/0.424, allocations: 15.94 kB / 1.311 GB, free: 13.45 MB / 1.014 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.0002966/0.4243, allocations: 111.2 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000343/0.4246, allocations: 39.95 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4246, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.4248, allocations: 15.92 kB / 1.311 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4252, allocations: 16.06 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.4257, allocations: 105.5 kB / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4262, allocations: 0.6768 MB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.386e-05/0.4262, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.4262, allocations: 7.438 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of SimCode: time 5.61e-07/0.4262, allocations: 4 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of Templates: time 0.005248/0.4315, allocations: 0.6531 MB / 1.313 GB, free: 11.77 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.97918035555631]