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.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.001406/0.001406, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001445/0.001445, allocations: 191.8 kB / 22.1 MB, free: 4.23 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.458/1.458, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.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 2.93/2.93, allocations: 495.8 MB / 0.783 GB, free: 12.25 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.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: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9443/0.9464, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001464/0.9478, allocations: 0.5877 MB / 1.307 GB, free: 33.39 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0003147/0.9481, allocations: 110.5 kB / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.9481, allocations: 0 / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.9482, allocations: 3.938 kB / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.9482, allocations: 0 / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.9485, allocations: 28.88 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.9485, allocations: 3.328 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.9485, allocations: 4 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.129e-05/0.9486, allocations: 2.938 kB / 1.308 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.532e-05/0.9486, allocations: 0 / 1.308 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.9486, allocations: 0 / 1.308 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.9487, allocations: 49.48 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.9487, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.9487, allocations: 2.562 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.9488, allocations: 31.48 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9488, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.9488, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 4.579e-06/0.9488, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 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.0001938/0.949, allocations: 243.6 kB / 1.308 GB, free: 33 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.9491, allocations: 8.594 kB / 1.308 GB, free: 33 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.9491, allocations: 3.938 kB / 1.308 GB, free: 33 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 4.423e-05/0.9492, allocations: 113.9 kB / 1.308 GB, free: 32.87 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.9492, allocations: 384 / 1.308 GB, free: 32.87 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.9492, allocations: 4.312 kB / 1.308 GB, free: 32.87 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.262e-05/0.9492, allocations: 32.8 kB / 1.308 GB, free: 32.83 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.9493, allocations: 4.172 kB / 1.308 GB, free: 32.83 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.9493, allocations: 3.938 kB / 1.308 GB, free: 32.82 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.9493, allocations: 0 / 1.308 GB, free: 32.82 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.9493, allocations: 2.469 kB / 1.308 GB, free: 32.82 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.802e-05/0.9494, allocations: 131 kB / 1.308 GB, free: 32.66 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 2.974e-05/0.9494, allocations: 14.58 kB / 1.308 GB, free: 32.64 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.9494, allocations: 11.42 kB / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.9496, allocations: 5.891 kB / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.9496, allocations: 37.31 kB / 1.308 GB, free: 32.58 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9496, allocations: 0 / 1.308 GB, free: 32.58 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1): time 0.0001193/0.9497, allocations: 39.14 kB / 1.308 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.9497, allocations: 55.53 kB / 1.308 GB, free: 32.48 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.484e-05/0.9498, allocations: 93.14 kB / 1.308 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.9498, allocations: 25.7 kB / 1.308 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 8.897e-06/0.9498, allocations: 80.14 kB / 1.308 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.9498, allocations: 0 / 1.308 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.9498, allocations: 12.62 kB / 1.308 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 3.35e-05/0.9498, allocations: 314.8 kB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-06/0.9499, allocations: 0 / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.9499, allocations: 10.47 kB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.9499, allocations: 7.484 kB / 1.309 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.9499, allocations: 0 / 1.309 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.323e-05/0.9499, allocations: 34.12 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.9499, allocations: 7.562 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.9499, allocations: 0 / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.95, allocations: 6.656 kB / 1.309 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.95, allocations: 0 / 1.309 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.95, allocations: 0 / 1.309 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.95, allocations: 4.094 kB / 1.309 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.95, allocations: 2.656 kB / 1.309 GB, free: 31.88 MB / 1.061 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.571e-05/0.95, allocations: 121 kB / 1.309 GB, free: 31.75 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.9501, allocations: 0 / 1.309 GB, free: 31.75 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.9501, allocations: 41.83 kB / 1.309 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9501, allocations: 0 / 1.309 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9501, allocations: 0 / 1.309 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9501, allocations: 5.766 kB / 1.309 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.924e-05/0.9502, allocations: 116.8 kB / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.9502, allocations: 0 / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.9502, allocations: 3.094 kB / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.9502, allocations: 0 / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.9502, allocations: 7.875 kB / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9502, allocations: 0 / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9502, allocations: 2.969 kB / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.782e-05/0.9503, allocations: 62.44 kB / 1.309 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.9503, allocations: 7.969 kB / 1.309 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.9503, allocations: 3.938 kB / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-06/0.9503, allocations: 0 / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.9503, allocations: 3.656 kB / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.9503, allocations: 2.719 kB / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.006e-05/0.9503, allocations: 75.28 kB / 1.309 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of sort global known variables: time 5.1e-08/0.9503, allocations: 0 / 1.309 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002061/0.9505, allocations: 9.656 kB / 1.309 GB, free: 31.39 MB / 1.061 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.0001962/0.9507, allocations: 113.8 kB / 1.309 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 9.132e-05/0.9508, allocations: 3.062 kB / 1.309 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9508, allocations: 0 / 1.309 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.9508, allocations: 7.156 kB / 1.309 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.951, allocations: 2.219 kB / 1.309 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.9512, allocations: 78.88 kB / 1.309 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.9513, allocations: 0.6762 MB / 1.31 GB, free: 30.49 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 9.799e-06/0.9513, allocations: 0 / 1.31 GB, free: 30.49 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.9513, allocations: 10.16 kB / 1.31 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of SimCode: time 4.61e-07/0.9513, allocations: 0 / 1.31 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of Templates: time 0.003049/0.9544, allocations: 409.8 kB / 1.311 GB, free: 30.39 MB / 1.061 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  -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/jenkins/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: 9.013988950289786]