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.000732/0.000732, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009879/0.00172, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006871/0.0006871, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008706/0.001558, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09759/1.102, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.414/2.414, allocations: 446.7 MB / 0.6745 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2409/2.654, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 3.667e-06/3.667e-06, allocations: 7.938 kB / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.646e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003353/0.003379, allocations: 1.538 MB / 0.8198 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.003727, allocations: 139.5 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.003763, allocations: 0 / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.003793, allocations: 0 / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.003827, allocations: 7.938 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.004139, allocations: 43.77 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.004222, allocations: 19.94 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004335, allocations: 11.97 kB / 0.82 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.004407, allocations: 12 kB / 0.82 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.004448, allocations: 7.984 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004466, allocations: 7.938 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.004634, allocations: 35.95 kB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.004647, allocations: 4 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.004663, allocations: 4 kB / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.004813, allocations: 43.78 kB / 0.8201 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.952e-05/0.004832, allocations: 0 / 0.8201 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004834, allocations: 0 / 0.8201 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.004857, allocations: 0 / 0.8201 GB, free: 0.957 MB / 0.7917 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.0004542/0.005311, allocations: 240.6 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.005354, allocations: 12.61 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.005443, allocations: 82.05 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.005549, allocations: 105.8 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.00556, allocations: 4.375 kB / 0.8206 GB, free: 464 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.005568, allocations: 384 / 0.8206 GB, free: 464 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005701, allocations: 58.95 kB / 0.8206 GB, free: 396 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.00571, allocations: 4.172 kB / 0.8206 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.005717, allocations: 384 / 0.8206 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005724, allocations: 384 / 0.8206 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.005757, allocations: 15.86 kB / 0.8206 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.006002, allocations: 148.3 kB / 0.8208 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.006061, allocations: 22.56 kB / 0.8208 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.00608, allocations: 8.922 kB / 0.8208 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.006206, allocations: 7.984 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.006235, allocations: 30.56 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.006237, allocations: 4 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.006386, allocations: 37.64 kB / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.006428, allocations: 55.34 kB / 0.8209 GB, free: 4 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.006514, allocations: 110.7 kB / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.006525, allocations: 25.7 kB / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.006563, allocations: 88.08 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.006585, allocations: 7.938 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.006617, allocations: 13.72 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.006718, allocations: 314.8 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.006727, allocations: 128 / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.00674, allocations: 12 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.006769, allocations: 12.8 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.006771, allocations: 0 / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.797e-05/0.006849, allocations: 37.69 kB / 0.8215 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.006867, allocations: 6.656 kB / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006872, allocations: 0 / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.006889, allocations: 0 / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.006975, allocations: 15.92 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006978, allocations: 0 / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.007, allocations: 8.094 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.007005, allocations: 4 kB / 0.8216 GB, free: 15.32 MB / 0.8073 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.258e-05/0.007078, allocations: 105.8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.007116, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.803e-05/0.007204, allocations: 44.94 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.007206, allocations: 0 / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.007209, allocations: 3.938 kB / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007212, allocations: 0 / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.00734, allocations: 77.83 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007342, allocations: 32 / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.007388, allocations: 12 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.007395, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007398, allocations: 3.984 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.007403, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.007405, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.007409, allocations: 7.938 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007523, allocations: 131.5 kB / 0.8219 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.007534, allocations: 0 / 0.8219 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.007592, allocations: 4 kB / 0.8219 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.007628, allocations: 0 / 0.8219 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.007631, allocations: 4.031 kB / 0.8219 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.007652, allocations: 16.78 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007652, allocations: 3.938 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002052/0.007857, allocations: 15.94 kB / 0.822 GB, free: 14.84 MB / 0.8073 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.0001729/0.00803, allocations: 84.41 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.756e-05/0.008098, allocations: 12.86 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.008104, allocations: 8.062 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.00812, allocations: 16.78 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.008285, allocations: 4 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.008669, allocations: 104.7 kB / 0.8222 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.008704, allocations: 63.2 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.008723, allocations: 3.984 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.008774, allocations: 51.38 kB / 0.8223 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of SimCode: time 8.41e-07/0.008775, allocations: 4.062 kB / 0.8223 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.002533/0.01131, allocations: 0.6922 MB / 0.823 GB, free: 13.75 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.143175715580583]