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.001616/0.001616, allocations: 79.19 kB / 19.18 MB, free: 2.527 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.001509/0.001509, allocations: 168.7 kB / 22.46 MB, free: 5.359 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.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.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 2.896/2.896, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 1 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.812e-05, allocations: 2.281 kB / 1 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001677/0.001705, allocations: 0.5955 MB / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.002082, allocations: 91.56 kB / 1.001 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.002099, allocations: 0 / 1.001 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.002111, allocations: 0 / 1.001 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.002116, allocations: 0 / 1.001 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.002502, allocations: 31.84 kB / 1.001 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.318e-05/0.002535, allocations: 0 / 1.001 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.002583, allocations: 4 kB / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.002605, allocations: 0 / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.00263, allocations: 3.984 kB / 1.001 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.002642, allocations: 0 / 1.001 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.002778, allocations: 39.89 kB / 1.001 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.002788, allocations: 7.938 kB / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.002801, allocations: 0 / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.002911, allocations: 23.97 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002914, allocations: 0 / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002914, allocations: 0 / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.002918, allocations: 0 / 1.001 GB, free: 6.402 MB / 0.9512 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.0003101/0.003228, allocations: 242.4 kB / 1.001 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.003262, allocations: 8.031 kB / 1.001 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.003311, allocations: 4.938 kB / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.00342, allocations: 105.8 kB / 1.001 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.003432, allocations: 12.31 kB / 1.001 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-06/0.003439, allocations: 384 / 1.001 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.402e-05/0.003533, allocations: 26.27 kB / 1.001 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.003543, allocations: 192 / 1.001 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.00355, allocations: 384 / 1.001 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.003557, allocations: 4.375 kB / 1.001 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.003578, allocations: 7.875 kB / 1.001 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.00371, allocations: 97.31 kB / 1.001 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.003761, allocations: 22.61 kB / 1.001 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.003785, allocations: 4.859 kB / 1.001 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.003976, allocations: 16.05 kB / 1.001 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.004011, allocations: 34.56 kB / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.004013, allocations: 0 / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.004173, allocations: 33.64 kB / 1.002 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.004224, allocations: 55.41 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.00428, allocations: 89.86 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.004297, allocations: 25.7 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.004332, allocations: 80.14 kB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.004371, allocations: 7.938 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.004403, allocations: 13.7 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.004566, allocations: 322.8 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.004577, allocations: 4 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.004583, allocations: 0 / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.004615, allocations: 12.86 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004617, allocations: 0 / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.663e-05/0.004694, allocations: 37.62 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.004711, allocations: 6.188 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.004716, allocations: 0 / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.00473, allocations: 0 / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.004771, allocations: 8.078 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.004775, allocations: 4 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.004793, allocations: 11.89 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.004798, allocations: 0 / 1.002 GB, free: 4.957 MB / 0.9512 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 7.951e-05/0.004877, allocations: 109.8 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.004898, allocations: 0 / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.005012, allocations: 44.62 kB / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.005013, allocations: 0 / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.005018, allocations: 0 / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005021, allocations: 0 / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.634e-05/0.005107, allocations: 101.3 kB / 1.002 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005108, allocations: 4.031 kB / 1.002 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.005123, allocations: 0 / 1.002 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005125, allocations: 3.938 kB / 1.002 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.005132, allocations: 0 / 1.002 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005133, allocations: 0 / 1.002 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005134, allocations: 4 kB / 1.002 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.005242, allocations: 61.06 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.00525, allocations: 4 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.00526, allocations: 0 / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.005267, allocations: 0 / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.005278, allocations: 4.031 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.00528, allocations: 0 / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.005317, allocations: 79.22 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.005317, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002021/0.005519, allocations: 11.98 kB / 1.003 GB, free: 4.473 MB / 0.9512 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.0001878/0.005707, allocations: 115 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.005787, allocations: 8 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.005789, allocations: 0 / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.005808, allocations: 4 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.005939, allocations: 3.984 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.006171, allocations: 77.06 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.006219, allocations: 51.36 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.055e-05/0.006229, allocations: 0 / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.006249, allocations: 12.5 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.00625, allocations: 0 / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of Templates: time 0.003003/0.009252, allocations: 404.6 kB / 1.003 GB, free: 3.758 MB / 0.9512 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/jenkins/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: 8.087774500250816]