Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 191.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.906/2.906, allocations: 0.4893 GB / 0.7884 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 66.36 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002509/0.2948, allocations: 1.443 MB / 1.317 GB, free: 8.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000413/0.2953, allocations: 155.5 kB / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.2953, allocations: 4 kB / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.2953, allocations: 3.938 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.2953, allocations: 0 / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2956, allocations: 43.84 kB / 1.318 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.2957, allocations: 15.98 kB / 1.318 GB, free: 7.996 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.2958, allocations: 19.86 kB / 1.318 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.2958, allocations: 11.92 kB / 1.318 GB, free: 7.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.2958, allocations: 4 kB / 1.318 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2958, allocations: 4 kB / 1.318 GB, free: 7.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2959, allocations: 43.89 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.296, allocations: 11.98 kB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.296, allocations: 11.92 kB / 1.318 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2961, allocations: 43.83 kB / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2961, allocations: 0 / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2961, allocations: 0 / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2961, allocations: 0 / 1.318 GB, free: 7.848 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004099/0.2965, allocations: 262.3 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2966, allocations: 12.02 kB / 1.318 GB, free: 7.547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.2966, allocations: 12.83 kB / 1.318 GB, free: 7.535 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.2967, allocations: 110.5 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2967, allocations: 4.375 kB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2967, allocations: 384 / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2969, allocations: 50.23 kB / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2969, allocations: 192 / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2969, allocations: 3.938 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2969, allocations: 0 / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.2971, allocations: 39.91 kB / 1.318 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.2974, allocations: 228 kB / 1.318 GB, free: 7.035 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2975, allocations: 38.5 kB / 1.319 GB, free: 6.988 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.2976, allocations: 16.91 kB / 1.319 GB, free: 6.969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.2977, allocations: 11.98 kB / 1.319 GB, free: 6.957 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2977, allocations: 38.5 kB / 1.319 GB, free: 6.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2978, allocations: 4 kB / 1.319 GB, free: 6.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003572/0.2981, allocations: 77.59 kB / 1.319 GB, free: 6.824 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2981, allocations: 51.41 kB / 1.319 GB, free: 6.762 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.2982, allocations: 105.8 kB / 1.319 GB, free: 6.648 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2982, allocations: 29.83 kB / 1.319 GB, free: 6.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.2983, allocations: 84.14 kB / 1.319 GB, free: 6.527 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2983, allocations: 3.953 kB / 1.319 GB, free: 6.523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.2983, allocations: 13.72 kB / 1.319 GB, free: 6.504 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2985, allocations: 314.8 kB / 1.319 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.2985, allocations: 15.98 kB / 1.319 GB, free: 6.172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.2986, allocations: 15.98 kB / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2988, allocations: 48.81 kB / 1.319 GB, free: 6.105 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2988, allocations: 4 kB / 1.319 GB, free: 6.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.299, allocations: 61.61 kB / 1.319 GB, free: 6.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.299, allocations: 8 kB / 1.319 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.299, allocations: 3.938 kB / 1.319 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.299, allocations: 4.219 kB / 1.319 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.2991, allocations: 7.984 kB / 1.319 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.2991, allocations: 0 / 1.319 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.2991, allocations: 7.984 kB / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2992, allocations: 7.984 kB / 1.319 GB, free: 5.996 MB / 1.014 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 7.543e-05/0.2992, allocations: 111.2 kB / 1.32 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.2993, allocations: 3.938 kB / 1.32 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.2995, allocations: 80.91 kB / 1.32 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2995, allocations: 0 / 1.32 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2995, allocations: 0 / 1.32 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2995, allocations: 0 / 1.32 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2997, allocations: 132.7 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2997, allocations: 0 / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.2997, allocations: 11.98 kB / 1.32 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2997, allocations: 0 / 1.32 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2997, allocations: 0 / 1.32 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2997, allocations: 32 / 1.32 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2997, allocations: 7.984 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3, allocations: 171.3 kB / 1.32 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.3, allocations: 4 kB / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3, allocations: 0 / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.3001, allocations: 7.984 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3001, allocations: 4.031 kB / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3001, allocations: 4 kB / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.3002, allocations: 83.28 kB / 1.32 GB, free: 5.309 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3002, allocations: 0 / 1.32 GB, free: 5.309 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000223/0.3004, allocations: 15.92 kB / 1.32 GB, free: 5.293 MB / 1.014 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.0001516/0.3005, allocations: 103.2 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3007, allocations: 39.95 kB / 1.32 GB, free: 5.141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3007, allocations: 0 / 1.32 GB, free: 5.141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.3008, allocations: 23.92 kB / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3011, allocations: 3.938 kB / 1.32 GB, free: 5.113 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.3013, allocations: 109.7 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3016, allocations: 0.6807 MB / 1.321 GB, free: 4.273 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3016, allocations: 4 kB / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.3016, allocations: 7.438 kB / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.3016, allocations: 0 / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of Templates: time 0.002872/0.3045, allocations: 0.6632 MB / 1.322 GB, free: 3.602 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.857900059781969]