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.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.0008329/0.0008329, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008219/0.0008219, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9071/0.9071, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.799/1.799, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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 1.402e-06/1.402e-06, allocations: 0 / 0.9822 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.829e-05, allocations: 6.281 kB / 0.9822 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001011/0.00103, allocations: 0.5866 MB / 0.9828 GB, free: 296 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.001298, allocations: 91.61 kB / 0.9829 GB, free: 204 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.154e-05/0.001309, allocations: 8 kB / 0.9829 GB, free: 196 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.001325, allocations: 0 / 0.9829 GB, free: 196 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.001331, allocations: 0 / 0.9829 GB, free: 196 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.001678, allocations: 31.91 kB / 0.9829 GB, free: 164 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 3.924e-05/0.001717, allocations: 3.984 kB / 0.983 GB, free: 160 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.001755, allocations: 8 kB / 0.983 GB, free: 152 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.001777, allocations: 0 / 0.983 GB, free: 152 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 1.516e-05/0.001792, allocations: 3.938 kB / 0.983 GB, free: 148 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.001803, allocations: 0 / 0.983 GB, free: 148 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.001915, allocations: 39.83 kB / 0.983 GB, free: 108 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.001924, allocations: 0 / 0.983 GB, free: 108 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.001936, allocations: 8 kB / 0.983 GB, free: 100 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 9.832e-05/0.002034, allocations: 35.89 kB / 0.983 GB, free: 64 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002036, allocations: 0 / 0.983 GB, free: 64 kB / 0.8855 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002037, allocations: 0 / 0.983 GB, free: 64 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.002041, allocations: 0 / 0.983 GB, free: 64 kB / 0.8855 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.0002144/0.002255, allocations: 238.4 kB / 0.9833 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.002287, allocations: 8.031 kB / 0.9833 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.00233, allocations: 4.938 kB / 0.9833 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.075e-05/0.002381, allocations: 105.8 kB / 0.9834 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.002389, allocations: 384 / 0.9834 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.002395, allocations: 384 / 0.9834 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.002468, allocations: 42.19 kB / 0.9834 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002474, allocations: 192 / 0.9834 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.002483, allocations: 4.359 kB / 0.9834 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002487, allocations: 384 / 0.9834 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.002503, allocations: 3.938 kB / 0.9834 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.304e-05/0.002596, allocations: 97.33 kB / 0.9835 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.262e-05/0.002628, allocations: 14.58 kB / 0.9835 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.002643, allocations: 16.89 kB / 0.9836 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.002794, allocations: 7.984 kB / 0.9836 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.002812, allocations: 38.5 kB / 0.9836 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.002813, allocations: 0 / 0.9836 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.002933, allocations: 29.7 kB / 0.9836 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.002963, allocations: 55.41 kB / 0.9837 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.626e-05/0.00299, allocations: 97.84 kB / 0.9838 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.002998, allocations: 25.7 kB / 0.9838 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.003015, allocations: 80.14 kB / 0.9839 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.003042, allocations: 3.953 kB / 0.9839 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.003062, allocations: 9.719 kB / 0.9839 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.003131, allocations: 318.8 kB / 0.9842 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.003138, allocations: 4.125 kB / 0.9842 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.003142, allocations: 0 / 0.9842 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/0.003163, allocations: 16.8 kB / 0.9842 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003165, allocations: 0 / 0.9842 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.094e-05/0.003206, allocations: 33.69 kB / 0.9842 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.003219, allocations: 8 kB / 0.9843 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.003224, allocations: 0 / 0.9843 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.003233, allocations: 3.938 kB / 0.9843 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.239e-05/0.003265, allocations: 0 / 0.9843 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.00327, allocations: 96 / 0.9843 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.395e-06/0.003278, allocations: 11.94 kB / 0.9843 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.003283, allocations: 0 / 0.9843 GB, free: 14.63 MB / 0.9011 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 4.433e-05/0.003327, allocations: 105.8 kB / 0.9844 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.003336, allocations: 0 / 0.9844 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.003394, allocations: 48.61 kB / 0.9844 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.003396, allocations: 4 kB / 0.9844 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0034, allocations: 0 / 0.9844 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.003402, allocations: 0 / 0.9844 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.979e-05/0.003451, allocations: 97.27 kB / 0.9845 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.003452, allocations: 0 / 0.9845 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-06/0.003459, allocations: 8.031 kB / 0.9845 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00346, allocations: 0 / 0.9845 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.003466, allocations: 4 kB / 0.9845 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.003468, allocations: 3.984 kB / 0.9845 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.003469, allocations: 3.938 kB / 0.9845 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.756e-05/0.003517, allocations: 61.02 kB / 0.9846 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-06/0.003521, allocations: 4 kB / 0.9846 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-06/0.003529, allocations: 0 / 0.9846 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-06/0.003532, allocations: 0 / 0.9846 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.003545, allocations: 7.984 kB / 0.9846 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.003546, allocations: 4.031 kB / 0.9846 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.856e-05/0.003565, allocations: 75.28 kB / 0.9847 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.003565, allocations: 0 / 0.9847 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001337/0.003698, allocations: 11.94 kB / 0.9847 GB, free: 14.14 MB / 0.9011 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.0001274/0.003826, allocations: 119.6 kB / 0.9848 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.386e-05/0.00388, allocations: 4 kB / 0.9848 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.003882, allocations: 4.062 kB / 0.9848 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.003885, allocations: 0 / 0.9848 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.127e-05/0.003976, allocations: 3.938 kB / 0.9848 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.00413, allocations: 106.6 kB / 0.9849 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.00416, allocations: 59.34 kB / 0.985 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.004172, allocations: 8.5 kB / 0.985 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of SimCode: time 3.31e-07/0.004172, allocations: 0 / 0.985 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of Templates: time 0.001419/0.005591, allocations: 0.5544 MB / 0.9855 GB, free: 13.22 MB / 0.9011 GB " [Timeout remaining time 300] 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: 6.553955879993737]