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.001621/0.001621, allocations: 79.97 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.002278/0.002278, allocations: 165.5 kB / 22.46 MB, free: 5.355 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.884/2.884, allocations: 389 MB / 0.633 GB, free: 0.9648 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.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 2.124e-06/2.124e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.493e-05, allocations: 5.656 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002478/0.002513, allocations: 1.446 MB / 1.002 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004419/0.002955, allocations: 151.4 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.002988, allocations: 0 / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.003016, allocations: 3.938 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.003058, allocations: 0 / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.003427, allocations: 43.83 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.003493, allocations: 23.92 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.003573, allocations: 4 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.003613, allocations: 15.92 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.003644, allocations: 4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.00366, allocations: 4 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.00378, allocations: 43.89 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.003792, allocations: 3.984 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.003815, allocations: 11.98 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003954, allocations: 47.81 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003956, allocations: 0 / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003957, allocations: 0 / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.00396, allocations: 0 / 1.002 GB, free: 5.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004626/0.004423, allocations: 266.3 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.004463, allocations: 8.031 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.004522, allocations: 0.9375 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.004642, allocations: 113.8 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.004657, allocations: 4.375 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.004666, allocations: 384 / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004851, allocations: 54.17 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.004861, allocations: 4.125 kB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.004872, allocations: 4.375 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.004876, allocations: 384 / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.005047, allocations: 31.91 kB / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.005342, allocations: 196.6 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.005474, allocations: 30.56 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.005571, allocations: 28.84 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.00571, allocations: 7.984 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.005738, allocations: 30.56 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005739, allocations: 0 / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000418/0.006157, allocations: 93.53 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.006209, allocations: 51.41 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.00632, allocations: 105.8 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.006343, allocations: 29.64 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.00641, allocations: 80.14 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.006436, allocations: 7.953 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.006471, allocations: 13.72 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.006627, allocations: 314.8 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.00673, allocations: 28.05 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.006805, allocations: 11.98 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.006971, allocations: 40.81 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006973, allocations: 0 / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002332/0.007206, allocations: 65.67 kB / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.007226, allocations: 14.59 kB / 1.003 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.007237, allocations: 3.938 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.007255, allocations: 0 / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.007349, allocations: 7.984 kB / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007356, allocations: 4 kB / 1.003 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.007407, allocations: 11.92 kB / 1.003 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007413, allocations: 3.938 kB / 1.004 GB, free: 3.641 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 (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 9.728e-05/0.00751, allocations: 105.8 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.00755, allocations: 4 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.007807, allocations: 76.91 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007809, allocations: 192 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.007814, allocations: 0 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.007819, allocations: 3.984 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.007979, allocations: 109.3 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.007982, allocations: 4 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.008045, allocations: 7.984 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008047, allocations: 0 / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.008055, allocations: 0 / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.008061, allocations: 7.969 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.008064, allocations: 7.938 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.008375, allocations: 159.5 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.008383, allocations: 4 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.008398, allocations: 0 / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.00848, allocations: 11.92 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.008526, allocations: 4 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.008529, allocations: 4 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.008588, allocations: 91.23 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.008588, allocations: 0 / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002416/0.00883, allocations: 8 kB / 1.004 GB, free: 2.977 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 (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.0002437/0.009074, allocations: 107.2 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.009336, allocations: 39.89 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.009339, allocations: 4.062 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.009434, allocations: 19.98 kB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.00972, allocations: 0 / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.01008, allocations: 104.9 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.496e-05/0.01015, allocations: 59.34 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.01018, allocations: 4 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.0102, allocations: 8.5 kB / 1.004 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.0102, allocations: 4.062 kB / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of Templates: time 0.003854/0.01406, allocations: 0.6693 MB / 1.005 GB, free: 1.91 MB / 0.9512 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.989929538220167]