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.002487/0.002487, allocations: 83.69 kB / 20.24 MB, free: 4.188 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.002759/0.002759, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.722/1.722, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.91/2.91, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.282e-06/1.282e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.367e-05, allocations: 6.141 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001711/0.001735, allocations: 0.5878 MB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000391/0.002126, allocations: 100.3 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.127e-05/0.002137, allocations: 0.5625 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.002148, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.002154, allocations: 1.25 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.002547, allocations: 27.91 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.465e-05/0.002581, allocations: 4 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.882e-05/0.00261, allocations: 1.625 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.002635, allocations: 0 / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.308e-05/0.002648, allocations: 0 / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.002658, allocations: 0 / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.002823, allocations: 56.97 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.002831, allocations: 0 / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.002843, allocations: 0 / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.002964, allocations: 31.89 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002966, allocations: 0.625 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002967, allocations: 0 / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.00297, allocations: 1.406 kB / 0.7872 GB, free: 11.97 MB / 0.7448 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.0003691/0.003339, allocations: 348.4 kB / 0.7876 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.003372, allocations: 11.97 kB / 0.7876 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.003437, allocations: 1.781 kB / 0.7876 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.655e-05/0.003534, allocations: 104.6 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.003552, allocations: 8.922 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.003558, allocations: 384 / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.003653, allocations: 30.94 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.003664, allocations: 1.094 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.003673, allocations: 384 / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.00368, allocations: 4.375 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.0037, allocations: 4.594 kB / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.00384, allocations: 108.6 kB / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/0.003903, allocations: 32.62 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.00392, allocations: 7.688 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.004076, allocations: 11.98 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.004113, allocations: 34.39 kB / 0.7879 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.004114, allocations: 0 / 0.7879 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.004271, allocations: 40.95 kB / 0.7879 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.004317, allocations: 55.34 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.004404, allocations: 146.2 kB / 0.7881 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.004421, allocations: 25.7 kB / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.004488, allocations: 126.9 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.004516, allocations: 3.938 kB / 0.7883 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.004558, allocations: 19.38 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.004814, allocations: 496.1 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.004823, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-06/0.004831, allocations: 8.719 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.004858, allocations: 9.344 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004859, allocations: 4 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.987e-05/0.004939, allocations: 37.62 kB / 0.7888 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.004952, allocations: 4 kB / 0.7888 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004956, allocations: 1.375 kB / 0.7888 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.004968, allocations: 0 / 0.7888 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.638e-05/0.005005, allocations: 8 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.005009, allocations: 1.156 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.00502, allocations: 3.938 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005024, allocations: 0 / 0.7888 GB, free: 10.12 MB / 0.7448 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 0.0001079/0.005132, allocations: 157.5 kB / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.005158, allocations: 7.953 kB / 0.789 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.00524, allocations: 38.28 kB / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005241, allocations: 0 / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.005244, allocations: 0 / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.005247, allocations: 0 / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.005351, allocations: 113.9 kB / 0.7892 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005352, allocations: 0 / 0.7892 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.005364, allocations: 0 / 0.7892 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005366, allocations: 3.938 kB / 0.7892 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.005373, allocations: 4.562 kB / 0.7892 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.005377, allocations: 4.547 kB / 0.7892 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005378, allocations: 0 / 0.7892 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.005493, allocations: 77.73 kB / 0.7892 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-06/0.005497, allocations: 0 / 0.7892 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.005505, allocations: 0 / 0.7892 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.005512, allocations: 0.5312 kB / 0.7892 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.00553, allocations: 3.984 kB / 0.7892 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.005534, allocations: 5.656 kB / 0.7892 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.005596, allocations: 119.8 kB / 0.7894 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005596, allocations: 0 / 0.7894 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001871/0.005783, allocations: 4 kB / 0.7894 GB, free: 9.52 MB / 0.7448 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.0001946/0.005977, allocations: 117.1 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.006057, allocations: 20.75 kB / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.006061, allocations: 4 kB / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.006076, allocations: 8.25 kB / 0.7895 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.006194, allocations: 0.5312 kB / 0.7895 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.006414, allocations: 84.77 kB / 0.7896 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.006474, allocations: 59.34 kB / 0.7896 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.263e-05/0.006487, allocations: 4.922 kB / 0.7897 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.006504, allocations: 8.5 kB / 0.7897 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.006504, allocations: 0 / 0.7897 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.003049/0.009553, allocations: 420.5 kB / 0.7901 GB, free: 8.766 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] 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.058096198015846]