Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001584/0.001584, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002019/0.002019, allocations: 186 kB / 20.78 MB, free: 1.547 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.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.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.795/2.795, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.89 kB / 1.107 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.999/1.001, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001832/1.003, allocations: 0.5968 MB / 1.273 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000385/1.003, allocations: 109.7 kB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/1.003, allocations: 0 / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/1.003, allocations: 0 / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/1.003, allocations: 0.875 kB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/1.004, allocations: 35.08 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.211e-05/1.004, allocations: 1.938 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/1.004, allocations: 1.406 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/1.004, allocations: 4.641 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/1.004, allocations: 0.625 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/1.004, allocations: 0.6875 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/1.004, allocations: 38.78 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/1.004, allocations: 4 kB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/1.004, allocations: 4.812 kB / 1.273 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/1.004, allocations: 33.91 kB / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.004, allocations: 1.484 kB / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.004, allocations: 0 / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.02e-06/1.004, allocations: 0 / 1.273 GB, free: 7.43 MB / 0.9981 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.0002881/1.004, allocations: 317.8 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.004, allocations: 9.562 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/1.005, allocations: 2.172 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.993e-05/1.005, allocations: 165.7 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.005, allocations: 1.281 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/1.005, allocations: 1.062 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/1.005, allocations: 28.61 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.005, allocations: 0.8438 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/1.005, allocations: 4.719 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.005, allocations: 0 / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/1.005, allocations: 5.688 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/1.005, allocations: 148.5 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/1.005, allocations: 20.84 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/1.005, allocations: 14.48 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/1.005, allocations: 85.05 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/1.005, allocations: 31.41 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.005, allocations: 0 / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/1.005, allocations: 43.89 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/1.005, allocations: 56.09 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.867e-05/1.005, allocations: 90.67 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/1.005, allocations: 25.7 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.143e-05/1.005, allocations: 81.48 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/1.005, allocations: 0 / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/1.005, allocations: 12.27 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.198e-05/1.005, allocations: 316.3 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/1.005, allocations: 0.875 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/1.005, allocations: 6.422 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/1.005, allocations: 7.422 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.005, allocations: 0 / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.925e-05/1.006, allocations: 36.64 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.006, allocations: 10.06 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/1.006, allocations: 0 / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.006, allocations: 7.938 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.771e-05/1.006, allocations: 2.25 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.006, allocations: 1.422 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/1.006, allocations: 8.891 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/1.006, allocations: 0 / 1.274 GB, free: 5.754 MB / 0.9981 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 4.288e-05/1.006, allocations: 108.8 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/1.006, allocations: 5.656 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/1.006, allocations: 42.48 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.006, allocations: 0.8438 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.006, allocations: 0.6562 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.006, allocations: 0.7188 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.275e-05/1.006, allocations: 148.8 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.006, allocations: 0.875 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/1.006, allocations: 1.75 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.006, allocations: 0.6562 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/1.006, allocations: 4.688 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.006, allocations: 0 / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.006, allocations: 1.469 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/1.006, allocations: 56.77 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/1.006, allocations: 90.34 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/1.006, allocations: 5.453 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/1.006, allocations: 0 / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/1.006, allocations: 5.531 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/1.006, allocations: 4.844 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.332e-05/1.006, allocations: 75.28 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/1.006, allocations: 0 / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002147/1.006, allocations: 8.172 kB / 1.275 GB, free: 5.141 MB / 0.9981 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.0001714/1.006, allocations: 124.4 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.051e-05/1.006, allocations: 4.578 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.006, allocations: 0 / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/1.006, allocations: 1.688 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/1.007, allocations: 4.719 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/1.007, allocations: 103.1 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.631e-05/1.007, allocations: 0.671 MB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.077e-05/1.007, allocations: 0.9375 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/1.007, allocations: 12.41 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.007, allocations: 0 / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of Templates: time 0.002604/1.01, allocations: 397.7 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.007583395577967]