Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0014/0.0014, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00149/0.00149, allocations: 192.8 kB / 22.17 MB, free: 5.652 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.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9503/0.9525, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002954/0.9554, allocations: 1.441 MB / 1.275 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004907/0.9559, allocations: 171.4 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.956, allocations: 4 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.956, allocations: 0 / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.956, allocations: 7.922 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.9565, allocations: 35.91 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.262e-05/0.9565, allocations: 27.86 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.9566, allocations: 4 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.9567, allocations: 11.92 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.9567, allocations: 11.98 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.9567, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.9569, allocations: 47.89 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.9569, allocations: 4 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.9569, allocations: 7.938 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.9571, allocations: 50.53 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9571, allocations: 0 / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9571, allocations: 4 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.9571, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 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.0005708/0.9577, allocations: 343.3 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.9577, allocations: 12.03 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.9578, allocations: 4.891 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.9579, allocations: 160.4 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.9579, allocations: 8.375 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.9579, allocations: 8.297 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.9581, allocations: 50.25 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.9581, allocations: 192 / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.9582, allocations: 3.938 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9582, allocations: 0 / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.9583, allocations: 35.95 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.9587, allocations: 240.9 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.9589, allocations: 54.41 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.959, allocations: 16.91 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.9592, allocations: 89.09 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.9592, allocations: 30.56 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9592, allocations: 0 / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003995/0.9596, allocations: 85.64 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.9597, allocations: 51.41 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.9598, allocations: 105.8 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.9598, allocations: 25.7 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.9599, allocations: 88.09 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.9599, allocations: 3.953 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.9599, allocations: 17.84 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.9601, allocations: 314.8 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.9602, allocations: 15.97 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/0.9602, allocations: 19.98 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.9604, allocations: 32.89 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9604, allocations: 4 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002235/0.9606, allocations: 69.59 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.9606, allocations: 7.938 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9607, allocations: 3.938 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9607, allocations: 4 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.9608, allocations: 7.984 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.9608, allocations: 0 / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.9608, allocations: 12.02 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.9608, allocations: 4 kB / 1.278 GB, free: 0.5664 MB / 0.9669 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 0.0001478/0.961, allocations: 119.8 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.961, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.9612, allocations: 68.78 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9612, allocations: 0 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9613, allocations: 0 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9613, allocations: 4.031 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.9614, allocations: 161.8 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9614, allocations: 0 / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.9615, allocations: 11.94 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.9615, allocations: 3.984 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.9615, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9615, allocations: 7.922 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9615, allocations: 0 / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.9618, allocations: 171.4 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.9619, allocations: 77.11 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.9619, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.962, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.962, allocations: 7.984 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.962, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001518/0.9622, allocations: 83.28 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9622, allocations: 4.031 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.9624, allocations: 11.94 kB / 1.278 GB, free: 15.75 MB / 0.9825 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.0002083/0.9626, allocations: 115.2 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.9628, allocations: 39.91 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9628, allocations: 4.062 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.9629, allocations: 19.97 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.9632, allocations: 13.75 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.9635, allocations: 105.5 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.9639, allocations: 0.6768 MB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.9639, allocations: 7.984 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.9639, allocations: 11.5 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9639, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.003528/0.9675, allocations: 0.655 MB / 1.28 GB, free: 14.05 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.944776686374098]