Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001752/0.001752, allocations: 108.9 kB / 16.46 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.002411/0.002411, allocations: 216.2 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.497/1.497, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7672 GB, free: 5.402 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_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.002103/0.002103, allocations: 67.89 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9659/0.968, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003441/0.9714, allocations: 1.449 MB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005256/0.972, allocations: 163.5 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.972, allocations: 0 / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.972, allocations: 3.938 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.9721, allocations: 11.88 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.9725, allocations: 35.89 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.9725, allocations: 23.86 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.9726, allocations: 11.98 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.9727, allocations: 8 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.9727, allocations: 11.92 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.9728, allocations: 4 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.9729, allocations: 47.89 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.9729, allocations: 0 / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.973, allocations: 11.92 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.9731, allocations: 49.64 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.9731, allocations: 0 / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.966e-06/0.9731, allocations: 0 / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.9732, allocations: 4 kB / 1.28 GB, free: 11.57 MB / 0.9825 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.0006368/0.9738, allocations: 343.4 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.9738, allocations: 12.03 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.9739, allocations: 34.75 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.974, allocations: 0.9375 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.9741, allocations: 172.4 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.9742, allocations: 384 / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.9742, allocations: 384 / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.9744, allocations: 54.17 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9744, allocations: 11.94 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.9744, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9744, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.9746, allocations: 31.97 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.975, allocations: 248.9 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.9752, allocations: 42.5 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.9753, allocations: 24.84 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.9755, allocations: 85.09 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.9755, allocations: 30.56 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9755, allocations: 0 / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00043/0.9759, allocations: 85.64 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.976, allocations: 51.41 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.9761, allocations: 101.8 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.9761, allocations: 25.7 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.9762, allocations: 84.14 kB / 1.281 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.9762, allocations: 3.953 kB / 1.281 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.9762, allocations: 13.72 kB / 1.281 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9764, allocations: 323 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.9765, allocations: 15.92 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.9766, allocations: 19.98 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.9767, allocations: 40.75 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9767, allocations: 3.938 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002191/0.9769, allocations: 69.67 kB / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9769, allocations: 4 kB / 1.282 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.977, allocations: 4 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.977, allocations: 0 / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.977, allocations: 7.984 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9771, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.9771, allocations: 15.86 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.9771, allocations: 0 / 1.282 GB, free: 9.398 MB / 0.9825 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 9.386e-05/0.9772, allocations: 121.8 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.9772, allocations: 3.953 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.9775, allocations: 68.78 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.9775, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9775, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9775, allocations: 3.984 kB / 1.282 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.9777, allocations: 157.6 kB / 1.282 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.9777, allocations: 4.031 kB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.9777, allocations: 11.98 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.9777, allocations: 0 / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9778, allocations: 0 / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9778, allocations: 0 / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9778, allocations: 0 / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.978, allocations: 171.4 kB / 1.282 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.9781, allocations: 77.11 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.9781, allocations: 192 / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.9782, allocations: 11.98 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.9782, allocations: 11.98 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.9782, allocations: 0 / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.9783, allocations: 79.28 kB / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9783, allocations: 0 / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002392/0.9785, allocations: 11.98 kB / 1.283 GB, free: 8.574 MB / 0.9825 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.0007953/0.9793, allocations: 0.7128 MB / 1.283 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.9796, allocations: 43.98 kB / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9796, allocations: 0 / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.9797, allocations: 15.98 kB / 1.283 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.98, allocations: 10 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.9804, allocations: 139 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.9808, allocations: 0.6884 MB / 1.284 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.9808, allocations: 0 / 1.284 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.9808, allocations: 15.44 kB / 1.284 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.9808, allocations: 0 / 1.284 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/1.008, allocations: 1.53 MB / 1.286 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/9.121, allocations: 5.938 kB / 1.286 GB, free: 5.426 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.404091659002006]