Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001353/0.001353, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001566/0.001566, allocations: 189 kB / 22.22 MB, free: 5.105 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.55/1.55, 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.78/2.78, allocations: 476.7 MB / 0.7646 GB, free: 9.863 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.89 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8129, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001677/0.8146, allocations: 0.5821 MB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003874/0.815, allocations: 111.6 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.078e-05/0.815, allocations: 3.938 kB / 1.275 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.815, allocations: 0 / 1.275 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.815, allocations: 0 / 1.275 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.8154, allocations: 27.91 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.8154, allocations: 0 / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.8155, allocations: 4 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.8155, allocations: 3.984 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.578e-05/0.8155, allocations: 0 / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.8155, allocations: 4 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.8156, allocations: 47.89 kB / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.8157, allocations: 0 / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.8157, allocations: 0 / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.8158, allocations: 31.61 kB / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8158, allocations: 4 kB / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8158, allocations: 3.938 kB / 1.275 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8158, allocations: 0 / 1.275 GB, free: 3.363 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000297/0.8161, allocations: 249 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8161, allocations: 8.031 kB / 1.275 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.8162, allocations: 8.922 kB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.8163, allocations: 106.5 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.8163, allocations: 384 / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.8163, allocations: 4.312 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.276e-05/0.8164, allocations: 26.27 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.8164, allocations: 4.188 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8164, allocations: 7.922 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.8164, allocations: 0 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.8164, allocations: 0 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.8166, allocations: 120.8 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.864e-05/0.8166, allocations: 22.61 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.8166, allocations: 8.797 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.8168, allocations: 8.047 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8169, allocations: 30.56 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8169, allocations: 0 / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.817, allocations: 49.62 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.817, allocations: 51.41 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.8171, allocations: 89.86 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.8171, allocations: 25.7 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.8171, allocations: 80.14 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.8172, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.8172, allocations: 13.72 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8173, allocations: 314.8 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.8173, allocations: 8.062 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.8173, allocations: 0 / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.8174, allocations: 8.859 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8174, allocations: 0 / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.593e-05/0.8174, allocations: 33.69 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.8174, allocations: 8 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8175, allocations: 0 / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8175, allocations: 3.938 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.683e-05/0.8175, allocations: 0 / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8175, allocations: 4.094 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.8175, allocations: 4 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.8175, allocations: 3.938 kB / 1.276 GB, free: 1.902 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 (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 7.472e-05/0.8176, allocations: 113.8 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.8176, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.8177, allocations: 40.62 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.8177, allocations: 3.938 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.8177, allocations: 8 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8177, allocations: 4.031 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.8178, allocations: 112.8 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8178, allocations: 3.984 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.8178, allocations: 4 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.8178, allocations: 0 / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.8178, allocations: 3.938 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8178, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8178, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.466e-05/0.8179, allocations: 61.08 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-06/0.8179, allocations: 11.92 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.8179, allocations: 3.938 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.8179, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-06/0.8179, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.8179, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.818, allocations: 75.28 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.818, allocations: 0 / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001957/0.8182, allocations: 12 kB / 1.277 GB, free: 1.375 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 (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.0001876/0.8184, allocations: 115.2 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.218e-05/0.8184, allocations: 4 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8184, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.8184, allocations: 3.938 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.8186, allocations: 8.438 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.8188, allocations: 84.98 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.819, allocations: 0.6729 MB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.738e-06/0.8191, allocations: 4 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.8191, allocations: 7.438 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.8191, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of Templates: time 0.002695/0.8218, allocations: 410.1 kB / 1.278 GB, free: 20 kB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.566358199343085]