Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001407/0.001407, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001526/0.001526, allocations: 218.8 kB / 23.03 MB, free: 4.922 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.424/3.424, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 62.55 kB / 1.171 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 179 MB / 1.345 GB, free: 15.87 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002306/0.4007, allocations: 0.5914 MB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.4011, allocations: 92.09 kB / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.4012, allocations: 0 / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.4012, allocations: 0 / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.4012, allocations: 0 / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.4017, allocations: 31.89 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.4017, allocations: 3.938 kB / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.4018, allocations: 0 / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.4018, allocations: 8 kB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.555e-05/0.4018, allocations: 0 / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4018, allocations: 0 / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.402, allocations: 43.89 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.402, allocations: 0 / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.402, allocations: 0 / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.4021, allocations: 32.12 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/0.4021, allocations: 3.984 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4022, allocations: 0 / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4022, allocations: 0 / 1.346 GB, free: 15.07 MB / 1.045 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.0003667/0.4025, allocations: 234.4 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.4026, allocations: 16.03 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.773e-05/0.4026, allocations: 192 / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.4026, allocations: 30.75 kB / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.4027, allocations: 4.875 kB / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.4028, allocations: 106.5 kB / 1.346 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4028, allocations: 8.375 kB / 1.346 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.4028, allocations: 384 / 1.346 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.403, allocations: 30.02 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.403, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.403, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.403, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.403, allocations: 8 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.4032, allocations: 112.8 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.4033, allocations: 26.55 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.4033, allocations: 8.844 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.4035, allocations: 4.062 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.4036, allocations: 42.48 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.4036, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002243/0.4038, allocations: 33.66 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.4039, allocations: 59.34 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.4039, allocations: 93.98 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.4039, allocations: 25.7 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.404, allocations: 80.14 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.404, allocations: 4 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.4041, allocations: 9.719 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4042, allocations: 310.8 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.4042, allocations: 4 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.4042, allocations: 3.984 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.4043, allocations: 20.73 kB / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4043, allocations: 0 / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.629e-05/0.4044, allocations: 33.77 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4044, allocations: 7.938 kB / 1.347 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4044, allocations: 0 / 1.347 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4044, allocations: 3.938 kB / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.4044, allocations: 4 kB / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4045, allocations: 0 / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.4045, allocations: 0 / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.4045, allocations: 0 / 1.347 GB, free: 13.57 MB / 1.045 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.228e-05/0.4046, allocations: 113.8 kB / 1.347 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.4046, allocations: 3.938 kB / 1.347 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/0.4047, allocations: 40.73 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4047, allocations: 3.984 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4047, allocations: 0 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4047, allocations: 0 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.4048, allocations: 120.8 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4048, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.4048, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4048, allocations: 3.938 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4048, allocations: 0 / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4048, allocations: 3.938 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4048, allocations: 8.031 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.726e-05/0.4049, allocations: 57.12 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.4049, allocations: 4 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.405, allocations: 3.938 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-06/0.405, allocations: 0 / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.405, allocations: 0 / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.405, allocations: 0 / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.405, allocations: 75.28 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.405, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002266/0.4052, allocations: 8 kB / 1.348 GB, free: 13.05 MB / 1.045 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.00052/0.4058, allocations: 0.6143 MB / 1.348 GB, free: 12.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.4058, allocations: 8 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4059, allocations: 3.938 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.4059, allocations: 0 / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.406, allocations: 4.562 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.4063, allocations: 106.7 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.4064, allocations: 59.3 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.4064, allocations: 3.938 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.4064, allocations: 7.438 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.4064, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.4327, allocations: 1.277 MB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 13.92 kB / 1.35 GB, free: 11.01 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.906355476006866]