Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001377/0.001377, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.001476/0.001476, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.578/3.578, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002026/0.002026, allocations: 66.53 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 180.2 MB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002804/0.4041, allocations: 1.452 MB / 1.349 GB, free: 8.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004257/0.4045, allocations: 156 kB / 1.349 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.4045, allocations: 0 / 1.349 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.4046, allocations: 0 / 1.349 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.4046, allocations: 3.938 kB / 1.349 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4049, allocations: 39.89 kB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.821e-05/0.405, allocations: 19.92 kB / 1.349 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.4051, allocations: 8 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.4051, allocations: 11.92 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.154e-05/0.4051, allocations: 4 kB / 1.349 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4052, allocations: 4 kB / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.4053, allocations: 43.89 kB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.4053, allocations: 3.938 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.4053, allocations: 15.92 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.4055, allocations: 36.17 kB / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4055, allocations: 4 kB / 1.35 GB, free: 8.262 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4055, allocations: 0 / 1.35 GB, free: 8.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4055, allocations: 0 / 1.35 GB, free: 8.262 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005214/0.406, allocations: 351.3 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.406, allocations: 11.98 kB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.4061, allocations: 34.75 kB / 1.35 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.4061, allocations: 4.875 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4063, allocations: 164.3 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4063, allocations: 384 / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4063, allocations: 12.31 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.4065, allocations: 50.23 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4065, allocations: 3.938 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.4065, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4065, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.4067, allocations: 39.94 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.4071, allocations: 249 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.4072, allocations: 42.42 kB / 1.35 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.4073, allocations: 20.91 kB / 1.35 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.4075, allocations: 85.09 kB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4075, allocations: 30.56 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4075, allocations: 4 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.4079, allocations: 81.64 kB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4079, allocations: 51.41 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.408, allocations: 101.8 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.408, allocations: 25.7 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.4081, allocations: 88.25 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.4081, allocations: 11.89 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4081, allocations: 17.72 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4083, allocations: 310.8 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.4084, allocations: 15.98 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.4084, allocations: 15.97 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4086, allocations: 40.89 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4086, allocations: 3.938 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002231/0.4088, allocations: 69.61 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4088, allocations: 4 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4088, allocations: 0 / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4088, allocations: 3.938 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.4089, allocations: 15.98 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4089, allocations: 4.031 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.409, allocations: 4 kB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.409, allocations: 0 / 1.351 GB, free: 6.078 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 (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 8.738e-05/0.4091, allocations: 113.8 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.4091, allocations: 7.922 kB / 1.352 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.4094, allocations: 68.78 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4094, allocations: 4.031 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4094, allocations: 11.94 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.4094, allocations: 0 / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4096, allocations: 157.6 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4096, allocations: 0 / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.4096, allocations: 11.92 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4096, allocations: 4 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4096, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4096, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4096, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.4099, allocations: 167.5 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.41, allocations: 81.06 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.41, allocations: 3.984 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.4101, allocations: 4 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.4101, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4101, allocations: 4 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.4102, allocations: 83.3 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4102, allocations: 4 kB / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002352/0.4104, allocations: 8 kB / 1.352 GB, free: 5.254 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 (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.000706/0.4111, allocations: 0.7123 MB / 1.353 GB, free: 4.512 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.4113, allocations: 31.97 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4113, allocations: 0 / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.4114, allocations: 15.98 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.4117, allocations: 22.39 kB / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.4122, allocations: 139 kB / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4125, allocations: 0.6768 MB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.4125, allocations: 3.984 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.4126, allocations: 11.44 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.4126, allocations: 0 / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.4398, allocations: 1.506 MB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.514, allocations: 7.875 kB / 1.355 GB, free: 2.137 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.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_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.114324518013746]