Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001817/0.001817, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002407/0.002407, allocations: 157.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.473/1.473, allocations: 177.2 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.169/3.169, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8776 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.149e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001895/0.001926, allocations: 0.5933 MB / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.002301, allocations: 90.19 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.153e-05/0.002312, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.002325, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.00233, allocations: 1.125 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.00272, allocations: 36.92 kB / 0.8783 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.437e-05/0.002755, allocations: 0 / 0.8783 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.002789, allocations: 5.031 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.002811, allocations: 0.875 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.393e-05/0.002825, allocations: 0 / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.002836, allocations: 1.031 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.002974, allocations: 40.05 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.002982, allocations: 0 / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.003006, allocations: 8.578 kB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003113, allocations: 23.53 kB / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003115, allocations: 0 / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003116, allocations: 0 / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.00312, allocations: 4 kB / 0.8784 GB, free: 5.648 MB / 0.8386 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.0003444/0.003464, allocations: 242.4 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.0035, allocations: 8.031 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.00358, allocations: 0.9375 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.003684, allocations: 105.8 kB / 0.8788 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.003696, allocations: 384 / 0.8788 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003704, allocations: 4.359 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.00379, allocations: 34.83 kB / 0.8788 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003798, allocations: 0.7812 kB / 0.8788 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.003805, allocations: 384 / 0.8788 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.003809, allocations: 1.125 kB / 0.8788 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.00383, allocations: 3.938 kB / 0.8788 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.003971, allocations: 106.2 kB / 0.8789 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.004019, allocations: 14.58 kB / 0.8789 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.004036, allocations: 6.391 kB / 0.8789 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.004225, allocations: 8.078 kB / 0.8789 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.004265, allocations: 38.5 kB / 0.879 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.004266, allocations: 0.9375 kB / 0.879 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001887/0.004455, allocations: 33.7 kB / 0.879 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.004502, allocations: 52.19 kB / 0.8791 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.00456, allocations: 89.86 kB / 0.8791 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.004578, allocations: 33.83 kB / 0.8792 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.004627, allocations: 80.14 kB / 0.8793 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.004657, allocations: 11.83 kB / 0.8793 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.004687, allocations: 9.719 kB / 0.8793 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.004876, allocations: 326.8 kB / 0.8796 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.004885, allocations: 0 / 0.8796 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.004891, allocations: 0 / 0.8796 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.004927, allocations: 12.8 kB / 0.8796 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.004931, allocations: 4 kB / 0.8796 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.861e-05/0.00501, allocations: 29.8 kB / 0.8796 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.005029, allocations: 12 kB / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.005034, allocations: 0 / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.005053, allocations: 0 / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.005091, allocations: 0 / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.005099, allocations: 3.984 kB / 0.8796 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.51e-05/0.005114, allocations: 7.938 kB / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.005119, allocations: 0 / 0.8797 GB, free: 4.223 MB / 0.8386 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 8.939e-05/0.005208, allocations: 109.8 kB / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.005232, allocations: 0 / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.005336, allocations: 36.64 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.005338, allocations: 8.031 kB / 0.8798 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.005344, allocations: 3.984 kB / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005347, allocations: 0 / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.883e-05/0.005445, allocations: 97.27 kB / 0.8799 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.005447, allocations: 0 / 0.8799 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.005465, allocations: 4 kB / 0.8799 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005467, allocations: 0 / 0.8799 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.005471, allocations: 0 / 0.8799 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005473, allocations: 0 / 0.8799 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005474, allocations: 0 / 0.8799 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.005588, allocations: 73 kB / 0.88 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.005592, allocations: 0 / 0.88 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.005602, allocations: 0 / 0.88 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.005613, allocations: 4 kB / 0.88 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.005625, allocations: 0 / 0.88 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.005627, allocations: 0 / 0.88 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.005672, allocations: 75.28 kB / 0.88 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005672, allocations: 0 / 0.88 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002062/0.005878, allocations: 7.938 kB / 0.8801 GB, free: 3.746 MB / 0.8386 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.0002172/0.006095, allocations: 123.1 kB / 0.8802 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.006173, allocations: 8 kB / 0.8802 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006176, allocations: 0 / 0.8802 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.054e-06/0.006183, allocations: 0 / 0.8802 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.006322, allocations: 7.938 kB / 0.8802 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.006558, allocations: 81.16 kB / 0.8803 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.006616, allocations: 55.36 kB / 0.8803 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.055e-05/0.006627, allocations: 128 / 0.8803 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.006652, allocations: 12.5 kB / 0.8803 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.006652, allocations: 0 / 0.8803 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.002939/0.009592, allocations: 414.3 kB / 0.8807 GB, free: 3.008 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.949772926978767]