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.001713/0.001713, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002042/0.002042, allocations: 202.2 kB / 22.17 MB, free: 5.211 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.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.23 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.819/2.819, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.003385/0.003385, allocations: 67.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9558/0.9592, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003139/0.9623, allocations: 1.441 MB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005195/0.9628, allocations: 171.5 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.9629, allocations: 0 / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.9629, allocations: 3.938 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.963, allocations: 3.984 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.9633, allocations: 39.84 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.9634, allocations: 12 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.9635, allocations: 19.91 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.9635, allocations: 3.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.9636, allocations: 15.92 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.9636, allocations: 8 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.9637, allocations: 35.97 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.9637, allocations: 4 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.9638, allocations: 11.92 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.9639, allocations: 50.53 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9639, allocations: 0 / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9639, allocations: 0 / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.9639, allocations: 0 / 1.276 GB, free: 2.719 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.0005634/0.9645, allocations: 353.7 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9645, allocations: 12.03 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.9646, allocations: 8.891 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.9647, allocations: 172.4 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.9648, allocations: 384 / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.9648, allocations: 384 / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.965, allocations: 50.23 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.965, allocations: 192 / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.965, allocations: 3.938 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.965, allocations: 4 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.9652, allocations: 35.91 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.9656, allocations: 245 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.9657, allocations: 42.44 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.9658, allocations: 20.91 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.966, allocations: 97.08 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.9661, allocations: 30.56 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.9661, allocations: 3.938 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004186/0.9665, allocations: 81.64 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.9665, allocations: 51.41 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.9666, allocations: 102 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.9667, allocations: 25.7 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.9667, allocations: 88.09 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.9667, allocations: 7.953 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.9668, allocations: 9.719 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.9669, allocations: 318.8 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.967, allocations: 15.98 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.9671, allocations: 19.98 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.9673, allocations: 44.75 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9673, allocations: 0 / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002203/0.9675, allocations: 65.61 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.9675, allocations: 4.094 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.9675, allocations: 4 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9675, allocations: 0 / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.9676, allocations: 11.98 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.9676, allocations: 0 / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.9677, allocations: 11.92 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.9677, allocations: 0 / 1.278 GB, free: 0.5742 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 9.242e-05/0.9678, allocations: 114.3 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.9678, allocations: 4 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.968, allocations: 72.72 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.968, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9681, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9681, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.9682, allocations: 161.6 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9682, allocations: 4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.9683, allocations: 7.984 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9683, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.9683, allocations: 4.031 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9683, allocations: 4 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9683, allocations: 4 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.9686, allocations: 167.3 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.9687, allocations: 81.3 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.9687, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.9688, allocations: 12.02 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.9688, allocations: 7.922 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.9688, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.9689, allocations: 79.28 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9689, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002458/0.9691, allocations: 15.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.0001983/0.9693, allocations: 115.2 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.9696, allocations: 35.95 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9696, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.9697, allocations: 23.92 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.0003018/0.97, allocations: 5.812 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.9703, allocations: 113.6 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.9707, allocations: 0.6768 MB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.9707, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.9707, allocations: 7.438 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9707, allocations: 4 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.00333/0.9741, allocations: 0.6534 MB / 1.28 GB, free: 14.07 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 gbode -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.974127090070397]