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.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.00211/0.00211, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002448/0.002448, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.204/3.204, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.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: 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.002083/0.002083, allocations: 71.11 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003422/0.3675, allocations: 1.454 MB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005345/0.368, allocations: 139.6 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.368, allocations: 3.938 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.297e-05/0.3681, allocations: 7.938 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.3681, allocations: 4 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3685, allocations: 35.89 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.3686, allocations: 23.92 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3687, allocations: 4 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.3688, allocations: 15.92 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.3688, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3688, allocations: 4 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.369, allocations: 43.89 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.369, allocations: 11.92 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.369, allocations: 7.984 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3691, allocations: 43.83 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3691, allocations: 4 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3692, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3692, allocations: 0 / 1.366 GB, free: 11.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005087/0.3697, allocations: 262.3 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3697, allocations: 8.031 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.3698, allocations: 8.891 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3699, allocations: 106.5 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.3699, allocations: 384 / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3699, allocations: 4.375 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3701, allocations: 54.17 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3701, allocations: 4.188 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3701, allocations: 3.938 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3701, allocations: 0 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.3703, allocations: 31.95 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.3706, allocations: 192.6 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3707, allocations: 46.53 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.3708, allocations: 24.91 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.371, allocations: 11.92 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.371, allocations: 30.56 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.371, allocations: 3.938 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003587/0.3713, allocations: 81.64 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3714, allocations: 51.41 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.3715, allocations: 105.9 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3715, allocations: 25.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.3715, allocations: 92.08 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3716, allocations: 7.891 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.3716, allocations: 13.72 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3718, allocations: 314.8 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.3718, allocations: 15.98 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.3719, allocations: 23.91 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3721, allocations: 40.89 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3721, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3723, allocations: 69.59 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3723, allocations: 4 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3723, allocations: 0 / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3723, allocations: 0 / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.3724, allocations: 15.92 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3724, allocations: 8.016 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.3724, allocations: 4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3724, allocations: 0 / 1.368 GB, free: 10.02 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 (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 8.569e-05/0.3725, allocations: 110.9 kB / 1.368 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.3726, allocations: 11.92 kB / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.3728, allocations: 64.97 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3728, allocations: 192 / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3728, allocations: 32 / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3728, allocations: 7.984 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3729, allocations: 109.3 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3729, allocations: 0 / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.373, allocations: 4 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.373, allocations: 7.875 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.373, allocations: 0 / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.373, allocations: 7.984 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.373, allocations: 4 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3733, allocations: 163.5 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.3733, allocations: 7.922 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.3733, allocations: 3.938 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.3734, allocations: 4 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3734, allocations: 7.984 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3734, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.3735, allocations: 83.28 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3735, allocations: 0 / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002243/0.3737, allocations: 8 kB / 1.369 GB, free: 9.359 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 (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.0001992/0.3739, allocations: 111.2 kB / 1.369 GB, free: 9.238 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3741, allocations: 35.91 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3741, allocations: 0 / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.3742, allocations: 23.97 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3745, allocations: 4.125 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.3748, allocations: 135.2 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.845e-05/0.3749, allocations: 59.36 kB / 1.369 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3749, allocations: 15.36 kB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3749, allocations: 0 / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of Templates: time 0.002583/0.3775, allocations: 0.75 MB / 1.37 GB, free: 8.172 MB / 1.061 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/jenkins1/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: 11.073296857997775]