Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001997/0.001997, allocations: 110 kB / 18.93 MB, free: 2.945 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.002526/0.002526, allocations: 190 kB / 22.23 MB, free: 5.156 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.468/1.468, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.88 kB / 1.061 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.7839, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002858/0.7868, allocations: 1.445 MB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004993/0.7873, allocations: 173.6 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.7873, allocations: 0 / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.7873, allocations: 1.25 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.51e-05/0.7874, allocations: 7.922 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.7877, allocations: 34.25 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.7878, allocations: 20.72 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.7879, allocations: 6.297 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.7879, allocations: 15.7 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.788, allocations: 10.33 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.788, allocations: 2.5 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.7881, allocations: 46.55 kB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.7881, allocations: 3.938 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.7882, allocations: 6.75 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.7883, allocations: 54.75 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7883, allocations: 1.312 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7883, allocations: 0 / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7883, allocations: 0 / 1.22 GB, free: 2.27 MB / 0.92 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.0005194/0.7888, allocations: 348.4 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7889, allocations: 9.906 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.7889, allocations: 2.344 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.7891, allocations: 173.7 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.7891, allocations: 1.594 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.7891, allocations: 1.75 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.7893, allocations: 53.36 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7893, allocations: 192 / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.7893, allocations: 3.938 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7893, allocations: 9.25 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.7895, allocations: 34.14 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.7898, allocations: 240.6 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.79, allocations: 46.36 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.7901, allocations: 26.27 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.7903, allocations: 89.34 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7903, allocations: 31.44 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.7903, allocations: 0 / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003592/0.7907, allocations: 80.23 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.7907, allocations: 56.56 kB / 1.221 GB, free: 1.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.7908, allocations: 95.27 kB / 1.221 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.7908, allocations: 25.7 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.7909, allocations: 89.25 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.7909, allocations: 5.047 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.7909, allocations: 15.59 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7911, allocations: 315.9 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.7911, allocations: 17.33 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.7912, allocations: 22 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.7914, allocations: 34.61 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.7914, allocations: 1.125 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002116/0.7916, allocations: 71.67 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7916, allocations: 9.531 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7916, allocations: 0 / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7916, allocations: 1.312 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.7917, allocations: 9.984 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.7917, allocations: 3.938 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.7917, allocations: 3.375 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.7917, allocations: 1.188 kB / 1.222 GB, free: 356 kB / 0.92 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.0001101/0.7918, allocations: 127.8 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.7919, allocations: 5.281 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.7921, allocations: 66.84 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7921, allocations: 4 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7921, allocations: 0 / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7921, allocations: 1.062 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.7923, allocations: 162 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7923, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.7924, allocations: 18.3 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7924, allocations: 4.031 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.7924, allocations: 1 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7924, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7924, allocations: 4.906 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.7927, allocations: 162.5 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.7928, allocations: 89.92 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7928, allocations: 5.125 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.7929, allocations: 3.156 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.7929, allocations: 5.984 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.7929, allocations: 0 / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.7929, allocations: 83.38 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7929, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002424/0.7932, allocations: 9.781 kB / 1.223 GB, free: 15.59 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 (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.0002289/0.7934, allocations: 112.6 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.7936, allocations: 37.72 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7936, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.7937, allocations: 22.88 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.794, allocations: 10.56 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.7943, allocations: 103.2 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.7947, allocations: 0.6727 MB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.7947, allocations: 5.109 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.7948, allocations: 8.625 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7948, allocations: 1.281 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.003451/0.7982, allocations: 0.6638 MB / 1.224 GB, free: 14.29 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.37102967966348]