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.001731/0.001731, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002128/0.002128, allocations: 207.6 kB / 22.99 MB, free: 4.965 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.326/3.326, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00214/0.00214, allocations: 67.06 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001941/0.3828, allocations: 0.5924 MB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000418/0.3832, allocations: 96.09 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.3832, allocations: 3.938 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.3832, allocations: 0 / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.3832, allocations: 0 / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.3836, allocations: 39.83 kB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.307e-05/0.3837, allocations: 4 kB / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.3837, allocations: 4 kB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.187e-05/0.3837, allocations: 3.938 kB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.617e-05/0.3837, allocations: 0 / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.3838, allocations: 0 / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3839, allocations: 39.88 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.3839, allocations: 4 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.3839, allocations: 0 / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.384, allocations: 31.89 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3841, allocations: 4 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3841, allocations: 4 kB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.3841, allocations: 0 / 1.327 GB, free: 1.031 MB / 1.014 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.0003019/0.3844, allocations: 238.4 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3844, allocations: 8.031 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3844, allocations: 0.9375 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.3845, allocations: 110.5 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3846, allocations: 384 / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3846, allocations: 384 / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.734e-05/0.3847, allocations: 34.27 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3847, allocations: 4.172 kB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3847, allocations: 7.938 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3847, allocations: 0 / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.3847, allocations: 3.938 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.3848, allocations: 101.3 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.3849, allocations: 14.58 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.3849, allocations: 4.859 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.3851, allocations: 16.08 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3851, allocations: 30.56 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3851, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.3853, allocations: 41.58 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3853, allocations: 51.41 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.3854, allocations: 89.86 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3854, allocations: 25.7 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.3854, allocations: 84.14 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3855, allocations: 7.953 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.3855, allocations: 13.7 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3857, allocations: 314.8 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.3857, allocations: 13.05 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.451e-05/0.3858, allocations: 37.64 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3858, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3858, allocations: 11.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3858, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.3858, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3859, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 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.12e-05/0.386, allocations: 109.9 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.386, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.212e-05/0.3861, allocations: 44.56 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3861, allocations: 3.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3861, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3861, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.788e-05/0.3862, allocations: 101.3 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3862, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.3862, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3862, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3862, allocations: 8.031 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3862, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3862, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3863, allocations: 57.12 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.3863, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.3863, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.3863, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.3863, allocations: 7.875 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.3863, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.3864, allocations: 79.28 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3864, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001963/0.3866, allocations: 15.95 kB / 1.329 GB, free: 15.11 MB / 1.029 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.0001997/0.3868, allocations: 107.2 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.247e-05/0.3868, allocations: 7.984 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3868, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.3869, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.387, allocations: 2.016 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.3872, allocations: 118.6 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.826e-05/0.3873, allocations: 55.3 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.3873, allocations: 7.438 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3873, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Templates: time 0.002242/0.3895, allocations: 0.557 MB / 1.33 GB, free: 14.19 MB / 1.029 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/jenkins1/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: 11.935179891996086]