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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.641/2.641, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.463e-06/1.463e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.503e-05, allocations: 6.281 kB / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001667/0.001692, allocations: 0.5879 MB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.002067, allocations: 91.61 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.002079, allocations: 4 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.002095, allocations: 0 / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.002101, allocations: 0 / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.002473, allocations: 35.89 kB / 0.9517 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.481e-05/0.002508, allocations: 7.875 kB / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.002552, allocations: 0 / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.002573, allocations: 0 / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.002589, allocations: 4 kB / 0.9517 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.002599, allocations: 0 / 0.9517 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.00275, allocations: 39.89 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.787e-06/0.002759, allocations: 0 / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.002775, allocations: 7.984 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.002892, allocations: 27.91 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.002894, allocations: 0 / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002895, allocations: 0 / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.002904, allocations: 0 / 0.9518 GB, free: 10.68 MB / 0.8575 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.0003156/0.00322, allocations: 246.4 kB / 0.952 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.003253, allocations: 8.031 kB / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.003304, allocations: 0.9375 kB / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.003392, allocations: 105.8 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.003399, allocations: 384 / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.003411, allocations: 4.312 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.003507, allocations: 30.27 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.003517, allocations: 4.172 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.003523, allocations: 384 / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.003527, allocations: 4.375 kB / 0.9522 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.003554, allocations: 11.88 kB / 0.9522 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.00368, allocations: 93.33 kB / 0.9523 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.367e-05/0.003724, allocations: 18.61 kB / 0.9523 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.003738, allocations: 4.859 kB / 0.9523 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.003904, allocations: 8.047 kB / 0.9523 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.003935, allocations: 42.56 kB / 0.9524 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.003936, allocations: 0 / 0.9524 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.004073, allocations: 33.64 kB / 0.9524 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.004112, allocations: 51.41 kB / 0.9525 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.004157, allocations: 93.84 kB / 0.9525 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.004172, allocations: 25.7 kB / 0.9526 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.004207, allocations: 80.14 kB / 0.9526 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.004238, allocations: 7.953 kB / 0.9527 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.004268, allocations: 13.72 kB / 0.9527 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.004396, allocations: 314.8 kB / 0.953 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.004406, allocations: 4.125 kB / 0.953 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.004411, allocations: 4 kB / 0.953 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.004435, allocations: 8.859 kB / 0.953 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.004436, allocations: 0 / 0.953 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.623e-05/0.004502, allocations: 41.56 kB / 0.953 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.004514, allocations: 4 kB / 0.953 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004518, allocations: 0 / 0.953 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.00453, allocations: 0 / 0.953 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.004563, allocations: 4 kB / 0.953 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.004566, allocations: 0 / 0.953 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.004579, allocations: 8.031 kB / 0.953 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.004582, allocations: 0 / 0.953 GB, free: 9.254 MB / 0.8575 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.501e-05/0.004657, allocations: 113.8 kB / 0.9531 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.004676, allocations: 0 / 0.9531 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.004748, allocations: 40.62 kB / 0.9532 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.004749, allocations: 0 / 0.9532 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.004752, allocations: 3.938 kB / 0.9532 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004754, allocations: 0 / 0.9532 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.734e-05/0.004832, allocations: 105.2 kB / 0.9533 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.004832, allocations: 0 / 0.9533 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.004843, allocations: 4.031 kB / 0.9533 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.004845, allocations: 0 / 0.9533 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.004855, allocations: 7.984 kB / 0.9533 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.004857, allocations: 4 kB / 0.9533 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.004858, allocations: 0 / 0.9533 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.004938, allocations: 57.08 kB / 0.9534 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.004943, allocations: 4 kB / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-06/0.004952, allocations: 0 / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.004959, allocations: 0 / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.004972, allocations: 7.969 kB / 0.9534 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.004973, allocations: 4.031 kB / 0.9534 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.005007, allocations: 79.22 kB / 0.9534 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.005007, allocations: 0 / 0.9534 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001982/0.005206, allocations: 11.94 kB / 0.9535 GB, free: 8.758 MB / 0.8575 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.0001739/0.00538, allocations: 115.1 kB / 0.9536 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.005444, allocations: 8 kB / 0.9536 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005446, allocations: 4.062 kB / 0.9536 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.005454, allocations: 4 kB / 0.9536 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.005577, allocations: 2.656 kB / 0.9536 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.005767, allocations: 80.92 kB / 0.9537 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.005812, allocations: 55.34 kB / 0.9537 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.056e-05/0.005822, allocations: 4 kB / 0.9537 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.005838, allocations: 8.5 kB / 0.9537 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.005838, allocations: 0 / 0.9537 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of Templates: time 0.002781/0.008619, allocations: 427.4 kB / 0.9541 GB, free: 8.012 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.562204994261265]