Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001927/0.001927, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.0025/0.0025, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.868/2.868, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.789e-06/4.789e-06, allocations: 4 kB / 0.7864 GB, free: 11.74 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/3.13e-05, allocations: 4.984 kB / 0.7864 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002948/0.002979, allocations: 1.453 MB / 0.7878 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.003467, allocations: 148.3 kB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.003495, allocations: 0.5625 kB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.003522, allocations: 4 kB / 0.788 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.00357, allocations: 8.75 kB / 0.788 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.00392, allocations: 35.89 kB / 0.788 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.003988, allocations: 20.78 kB / 0.788 GB, free: 10.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.004063, allocations: 11.97 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.004101, allocations: 8.562 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.00415, allocations: 12.77 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004164, allocations: 0 / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.004321, allocations: 49.02 kB / 0.7881 GB, free: 10 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.004335, allocations: 4 kB / 0.7881 GB, free: 10 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.004364, allocations: 7.984 kB / 0.7881 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004521, allocations: 47.88 kB / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004523, allocations: 1.594 kB / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004524, allocations: 0 / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004528, allocations: 0 / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000501/0.005029, allocations: 275 kB / 0.7884 GB, free: 9.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.005076, allocations: 8.031 kB / 0.7884 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.005167, allocations: 9.453 kB / 0.7884 GB, free: 9.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005306, allocations: 113.8 kB / 0.7885 GB, free: 9.492 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005319, allocations: 5.281 kB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.005328, allocations: 384 / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.005521, allocations: 55.11 kB / 0.7886 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.00553, allocations: 192 / 0.7886 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.00554, allocations: 1.719 kB / 0.7886 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005544, allocations: 384 / 0.7886 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.005733, allocations: 38.88 kB / 0.7886 GB, free: 9.395 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.006204, allocations: 192.6 kB / 0.7888 GB, free: 9.176 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.006355, allocations: 38.5 kB / 0.7889 GB, free: 9.129 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.00645, allocations: 20.91 kB / 0.7889 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.006608, allocations: 11.98 kB / 0.7889 GB, free: 9.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.006645, allocations: 31.81 kB / 0.7889 GB, free: 9.055 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.006646, allocations: 0 / 0.7889 GB, free: 9.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004552/0.007101, allocations: 91.19 kB / 0.789 GB, free: 8.961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.007153, allocations: 51.41 kB / 0.7891 GB, free: 8.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.00726, allocations: 106.4 kB / 0.7892 GB, free: 8.785 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.007281, allocations: 25.7 kB / 0.7892 GB, free: 8.754 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.007339, allocations: 85.95 kB / 0.7893 GB, free: 8.668 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.007356, allocations: 3.953 kB / 0.7893 GB, free: 8.664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.007398, allocations: 17.72 kB / 0.7893 GB, free: 8.641 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.007576, allocations: 314.8 kB / 0.7896 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.007679, allocations: 21.52 kB / 0.7896 GB, free: 8.305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.007759, allocations: 15.98 kB / 0.7896 GB, free: 8.289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.007934, allocations: 34.64 kB / 0.7897 GB, free: 8.254 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007936, allocations: 0 / 0.7897 GB, free: 8.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002335/0.008169, allocations: 71.94 kB / 0.7897 GB, free: 8.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.008187, allocations: 8 kB / 0.7897 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.008196, allocations: 3.938 kB / 0.7897 GB, free: 8.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.008215, allocations: 3.938 kB / 0.7897 GB, free: 8.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.008298, allocations: 7.984 kB / 0.7897 GB, free: 8.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.008307, allocations: 4.516 kB / 0.7897 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.008362, allocations: 12.7 kB / 0.7898 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.00837, allocations: 4.531 kB / 0.7898 GB, free: 8.137 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 9.343e-05/0.008463, allocations: 107.4 kB / 0.7899 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.008507, allocations: 4 kB / 0.7899 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.008758, allocations: 73.53 kB / 0.7899 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.00876, allocations: 0 / 0.7899 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.008764, allocations: 0.6875 kB / 0.7899 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008766, allocations: 0 / 0.7899 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.008939, allocations: 110 kB / 0.79 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00894, allocations: 4 kB / 0.79 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.009005, allocations: 8.484 kB / 0.7901 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.009008, allocations: 0.7812 kB / 0.7901 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.009014, allocations: 3.938 kB / 0.7901 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.009018, allocations: 5.312 kB / 0.7901 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009019, allocations: 4 kB / 0.7901 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.009316, allocations: 156.9 kB / 0.7902 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.009327, allocations: 3.938 kB / 0.7902 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.009342, allocations: 4.609 kB / 0.7902 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.009428, allocations: 12.64 kB / 0.7902 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.009469, allocations: 8 kB / 0.7902 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.009473, allocations: 0.8438 kB / 0.7902 GB, free: 7.586 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.681e-05/0.00953, allocations: 83.27 kB / 0.7903 GB, free: 7.504 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00953, allocations: 0 / 0.7903 GB, free: 7.504 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002636/0.009793, allocations: 9.844 kB / 0.7903 GB, free: 7.496 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0002062/0.01, allocations: 108 kB / 0.7904 GB, free: 7.383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.01023, allocations: 42.27 kB / 0.7905 GB, free: 7.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01023, allocations: 0 / 0.7905 GB, free: 7.344 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.01032, allocations: 19.98 kB / 0.7905 GB, free: 7.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.01063, allocations: 9.906 kB / 0.7905 GB, free: 7.316 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01097, allocations: 105.4 kB / 0.7906 GB, free: 7.188 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.544e-05/0.01104, allocations: 63.2 kB / 0.7907 GB, free: 7.105 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.01107, allocations: 0.5 kB / 0.7907 GB, free: 7.105 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.0111, allocations: 16.5 kB / 0.7907 GB, free: 7.09 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/0.0111, allocations: 1.094 kB / 0.7907 GB, free: 7.09 MB / 0.698 GB Notification: Performance of Templates: time 0.003584/0.01469, allocations: 0.6987 MB / 0.7914 GB, free: 6.414 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.64640673995018]