Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001983/0.001983, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002444/0.002444, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.859/2.859, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.05e-06/5.05e-06, allocations: 4 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.435e-05, allocations: 6.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001742/0.001777, allocations: 0.5924 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.002133, allocations: 87.62 kB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.042e-05/0.002143, allocations: 0 / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.002154, allocations: 7.938 kB / 0.9822 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.00216, allocations: 0 / 0.9822 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.002495, allocations: 35.84 kB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.738e-05/0.002533, allocations: 7.984 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.002564, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.002589, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.446e-05/0.002604, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.002615, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.002756, allocations: 39.83 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.002766, allocations: 4 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.002778, allocations: 4 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.002893, allocations: 31.95 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.002897, allocations: 7.922 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002897, allocations: 0 / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.002901, allocations: 0 / 0.9823 GB, free: 11.12 MB / 0.9356 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.0002724/0.003173, allocations: 234.4 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.003206, allocations: 12.03 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.003254, allocations: 4.891 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.003348, allocations: 109.8 kB / 0.9826 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.00336, allocations: 4.359 kB / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.003369, allocations: 4.375 kB / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.003447, allocations: 30.27 kB / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003454, allocations: 192 / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.00346, allocations: 384 / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.003463, allocations: 384 / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.003484, allocations: 7.938 kB / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.003601, allocations: 93.33 kB / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.003649, allocations: 22.55 kB / 0.9828 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.003667, allocations: 12.86 kB / 0.9828 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.00384, allocations: 8.047 kB / 0.9828 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.003868, allocations: 30.56 kB / 0.9828 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.003869, allocations: 4 kB / 0.9828 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.004001, allocations: 45.56 kB / 0.9829 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.004042, allocations: 51.41 kB / 0.9829 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.004091, allocations: 93.86 kB / 0.983 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.004107, allocations: 25.7 kB / 0.983 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.004146, allocations: 80.14 kB / 0.9831 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.00417, allocations: 3.938 kB / 0.9831 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.004198, allocations: 13.72 kB / 0.9831 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.00434, allocations: 314.8 kB / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.004349, allocations: 0 / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.004356, allocations: 12.06 kB / 0.9834 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.004381, allocations: 4.859 kB / 0.9835 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004383, allocations: 0 / 0.9835 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.346e-05/0.004456, allocations: 45.62 kB / 0.9835 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.004468, allocations: 4 kB / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004471, allocations: 0 / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.004486, allocations: 0 / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.004521, allocations: 4 kB / 0.9835 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.004526, allocations: 0 / 0.9835 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.004537, allocations: 8.031 kB / 0.9835 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.004542, allocations: 0 / 0.9835 GB, free: 9.684 MB / 0.9356 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 8.156e-05/0.004623, allocations: 105.8 kB / 0.9836 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.004646, allocations: 7.984 kB / 0.9836 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.004722, allocations: 36.7 kB / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004723, allocations: 0 / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.004727, allocations: 0 / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.004729, allocations: 0 / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.004815, allocations: 97.27 kB / 0.9837 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.004819, allocations: 3.984 kB / 0.9837 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.00483, allocations: 8.031 kB / 0.9838 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.004831, allocations: 3.938 kB / 0.9838 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.004836, allocations: 0 / 0.9838 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004837, allocations: 0 / 0.9838 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004838, allocations: 0 / 0.9838 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.669e-05/0.004925, allocations: 57.08 kB / 0.9838 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.004933, allocations: 7.984 kB / 0.9838 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.004942, allocations: 4 kB / 0.9838 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.004949, allocations: 3.938 kB / 0.9838 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-06/0.004958, allocations: 0 / 0.9838 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.00496, allocations: 32 / 0.9838 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.004996, allocations: 79.28 kB / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004996, allocations: 0 / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002216/0.005217, allocations: 8 kB / 0.9839 GB, free: 9.207 MB / 0.9356 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.0002123/0.00543, allocations: 119.6 kB / 0.984 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.267e-05/0.005492, allocations: 11.94 kB / 0.984 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005494, allocations: 0 / 0.984 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-06/0.0055, allocations: 4.062 kB / 0.984 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.005626, allocations: 6.578 kB / 0.984 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.005823, allocations: 73.02 kB / 0.9841 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.27e-05/0.005885, allocations: 63.2 kB / 0.9842 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.758e-06/0.005895, allocations: 0 / 0.9842 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.005911, allocations: 12.44 kB / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.005911, allocations: 0 / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of Templates: time 0.002745/0.008656, allocations: 422.8 kB / 0.9846 GB, free: 8.461 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.851878345012665]