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.001557/0.001557, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001742/0.001742, allocations: 222.2 kB / 23 MB, free: 4.91 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 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.24/3.24, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 66.06 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001707/0.3368, allocations: 0.5903 MB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000373/0.3372, allocations: 100.1 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.133e-05/0.3372, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.3372, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.3372, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.3376, allocations: 31.84 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.3376, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.3377, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.3377, allocations: 4 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.434e-05/0.3377, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.3377, allocations: 4 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3378, allocations: 35.95 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.3378, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.187e-05/0.3378, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.338, allocations: 31.89 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.338, allocations: 0 / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/0.338, allocations: 7.875 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.338, allocations: 0 / 1.365 GB, free: 12.78 MB / 1.061 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.0002917/0.3383, allocations: 242.4 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3383, allocations: 12.03 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3383, allocations: 0.9375 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.3384, allocations: 110.5 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3384, allocations: 384 / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.3384, allocations: 384 / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.3385, allocations: 30.27 kB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3385, allocations: 192 / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3386, allocations: 3.938 kB / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3386, allocations: 0 / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.3386, allocations: 0 / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.3387, allocations: 105.3 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.3388, allocations: 18.52 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.3388, allocations: 12.95 kB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.339, allocations: 7.984 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.339, allocations: 38.55 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.339, allocations: 0 / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.3391, allocations: 41.52 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3392, allocations: 55.41 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.3392, allocations: 89.86 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3392, allocations: 25.7 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3393, allocations: 80.14 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3393, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3393, allocations: 17.84 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3395, allocations: 318.8 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.3395, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.3395, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.3395, allocations: 8.859 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3395, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.499e-05/0.3396, allocations: 33.64 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3396, allocations: 8 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3396, allocations: 0 / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3396, allocations: 4.031 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.3396, allocations: 11.92 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3396, allocations: 4 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-06/0.3397, allocations: 0 / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3397, allocations: 0 / 1.367 GB, free: 11.35 MB / 1.061 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.419e-05/0.3397, allocations: 109.8 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3398, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.3398, allocations: 32.7 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3398, allocations: 11.92 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3398, allocations: 0 / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3398, allocations: 4.031 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.183e-05/0.3399, allocations: 93.33 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3399, allocations: 0 / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.3399, allocations: 7.938 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3399, allocations: 0 / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.3399, allocations: 0 / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3399, allocations: 0 / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3399, allocations: 3.938 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.534e-05/0.34, allocations: 61.12 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.34, allocations: 4 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.34, allocations: 0 / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.34, allocations: 4.031 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3401, allocations: 7.938 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3401, allocations: 0 / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.3401, allocations: 75.28 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3401, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001898/0.3403, allocations: 8 kB / 1.367 GB, free: 10.87 MB / 1.061 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.0001758/0.3405, allocations: 111.1 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.297e-05/0.3405, allocations: 11.94 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3405, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-06/0.3405, allocations: 4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.3407, allocations: 3.984 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.3409, allocations: 106.6 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.3409, allocations: 55.36 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.3409, allocations: 11.38 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3409, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of Templates: time 0.002032/0.343, allocations: 0.5398 MB / 1.368 GB, free: 9.965 MB / 1.061 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/jenkins1/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: 10.965328973717988]