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.001906/0.001906, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001875/0.001875, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.805 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.486/3.486, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",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.002088/0.002088, allocations: 64.17 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002086/0.4004, allocations: 0.6016 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004845/0.4009, allocations: 92.03 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.4009, allocations: 0 / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.4009, allocations: 0 / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-06/0.4009, allocations: 0 / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.4014, allocations: 35.89 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.4015, allocations: 4 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.4015, allocations: 0 / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.4015, allocations: 0 / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.4016, allocations: 0 / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4016, allocations: 0 / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.4017, allocations: 43.89 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.4017, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.4018, allocations: 4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.4019, allocations: 24.12 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.4019, allocations: 4 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4019, allocations: 4 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.4019, allocations: 3.984 kB / 1.364 GB, free: 13.28 MB / 1.061 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.0003666/0.4023, allocations: 238.4 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4023, allocations: 8.031 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.4024, allocations: 30.75 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.4024, allocations: 4.938 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.4025, allocations: 106.5 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4026, allocations: 384 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.4026, allocations: 384 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.4027, allocations: 30.27 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4027, allocations: 7.938 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4027, allocations: 0 / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4027, allocations: 0 / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.4028, allocations: 3.938 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.4029, allocations: 120.8 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.403, allocations: 14.58 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.403, allocations: 8.953 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.4032, allocations: 11.98 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4033, allocations: 30.56 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 2.916e-06/0.4033, allocations: 3.984 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002286/0.4035, allocations: 49.5 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4036, allocations: 51.41 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.4037, allocations: 93.86 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4037, allocations: 25.7 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.4037, allocations: 80.14 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.4038, allocations: 4 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.4038, allocations: 9.719 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.404, allocations: 314.8 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.404, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.404, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.4041, allocations: 20.97 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4041, allocations: 3.938 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.764e-05/0.4042, allocations: 37.7 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4042, allocations: 10.5 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4042, allocations: 3.938 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4042, allocations: 0 / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.4043, allocations: 0 / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4043, allocations: 0 / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.4043, allocations: 0 / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.4043, allocations: 4 kB / 1.365 GB, free: 11.79 MB / 1.061 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 0.0002011/0.4045, allocations: 113.9 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.4045, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.4046, allocations: 40.58 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4046, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4046, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4046, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.4048, allocations: 120.8 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4048, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.4048, allocations: 4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4048, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4048, allocations: 7.969 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4048, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4048, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.4049, allocations: 61.12 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.4049, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4049, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.4049, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.405, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.405, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.405, allocations: 75.28 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.405, allocations: 4.031 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002008/0.4052, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 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.0006542/0.4059, allocations: 0.6161 MB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.561e-05/0.406, allocations: 7.938 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.406, allocations: 3.938 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.406, allocations: 8.094 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.4061, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.4065, allocations: 106.6 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.4066, allocations: 55.36 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.4066, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.4066, allocations: 7.438 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4066, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.4385, allocations: 1.635 MB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 3.906 kB / 1.368 GB, free: 8.867 MB / 1.061 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 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.csv","/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: 19.15747460303828]