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.001899/0.001899, allocations: 108.4 kB / 16.45 MB, free: 6.488 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.002364/0.002364, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.413/3.413, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002036/0.002036, allocations: 72.11 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001703/0.4018, allocations: 0.568 MB / 1.348 GB, free: 9.363 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003588/0.4022, allocations: 107.5 kB / 1.348 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.4022, allocations: 4 kB / 1.348 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.4022, allocations: 0 / 1.348 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.4022, allocations: 0 / 1.348 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.4026, allocations: 27.91 kB / 1.348 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.4026, allocations: 0 / 1.348 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.4027, allocations: 0 / 1.348 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.108e-05/0.4027, allocations: 0 / 1.348 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.502e-05/0.4027, allocations: 4 kB / 1.348 GB, free: 9.223 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.4027, allocations: 0 / 1.348 GB, free: 9.223 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4028, allocations: 40.3 kB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.4028, allocations: 0 / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.4028, allocations: 8 kB / 1.349 GB, free: 9.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.932e-05/0.4029, allocations: 28.12 kB / 1.349 GB, free: 9.148 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4029, allocations: 3.984 kB / 1.349 GB, free: 9.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4029, allocations: 0 / 1.349 GB, free: 9.145 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.403, allocations: 0 / 1.349 GB, free: 9.145 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.0003202/0.4033, allocations: 311.5 kB / 1.349 GB, free: 8.789 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4033, allocations: 15.98 kB / 1.349 GB, free: 8.773 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.4034, allocations: 30.75 kB / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.4034, allocations: 0.9375 kB / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.4035, allocations: 164.4 kB / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4035, allocations: 8.359 kB / 1.349 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.4035, allocations: 384 / 1.349 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.4036, allocations: 34.2 kB / 1.349 GB, free: 8.488 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4036, allocations: 3.938 kB / 1.349 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.4036, allocations: 4 kB / 1.349 GB, free: 8.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.4037, allocations: 0 / 1.349 GB, free: 8.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.4037, allocations: 0 / 1.349 GB, free: 8.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.4038, allocations: 145.7 kB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.4039, allocations: 26.56 kB / 1.349 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.4039, allocations: 4.859 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.4041, allocations: 89.19 kB / 1.349 GB, free: 8.141 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4041, allocations: 38.5 kB / 1.349 GB, free: 8.094 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4041, allocations: 0 / 1.349 GB, free: 8.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.4043, allocations: 33.64 kB / 1.349 GB, free: 8.055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4043, allocations: 51.53 kB / 1.349 GB, free: 7.992 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.307e-05/0.4044, allocations: 93.86 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4044, allocations: 25.7 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.4044, allocations: 80.14 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.4044, allocations: 7.953 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.4045, allocations: 17.66 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4046, allocations: 314.8 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.4046, allocations: 0 / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.4046, allocations: 0 / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.4046, allocations: 20.8 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4046, allocations: 0 / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.048e-05/0.4047, allocations: 37.7 kB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4047, allocations: 4 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4047, allocations: 3.938 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4047, allocations: 0 / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.4048, allocations: 3.984 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4048, allocations: 4 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.4048, allocations: 0 / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4048, allocations: 4.031 kB / 1.35 GB, free: 7.344 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 6.781e-05/0.4049, allocations: 105.8 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.4049, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.405, allocations: 40.7 kB / 1.35 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.405, allocations: 7.984 kB / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.405, allocations: 0 / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.405, allocations: 0 / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.4051, allocations: 145.7 kB / 1.35 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4051, allocations: 8.031 kB / 1.35 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.4051, allocations: 4 kB / 1.35 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4051, allocations: 0 / 1.35 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4051, allocations: 3.938 kB / 1.35 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4051, allocations: 0 / 1.35 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4051, allocations: 0 / 1.35 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.4052, allocations: 61.06 kB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.4052, allocations: 81.11 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.4052, allocations: 7.969 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.4053, allocations: 0 / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-06/0.4053, allocations: 0 / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.4053, allocations: 0 / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.4053, allocations: 79.27 kB / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001931/0.4055, allocations: 8 kB / 1.351 GB, free: 6.695 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.0004695/0.406, allocations: 0.6046 MB / 1.351 GB, free: 6.059 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.406, allocations: 7.938 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.406, allocations: 3.938 kB / 1.351 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.4061, allocations: 4 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.4062, allocations: 12 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.4065, allocations: 114.5 kB / 1.351 GB, free: 5.883 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4068, allocations: 0.669 MB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.042e-05/0.4068, allocations: 0 / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.4068, allocations: 11.44 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.4068, allocations: 0 / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.4322, allocations: 1.158 MB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.44, allocations: 0 / 1.353 GB, free: 4.164 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.819239439908415]