Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001374/0.001374, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001674/0.001674, allocations: 213.8 kB / 22.25 MB, free: 5.117 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_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.002772/0.002772, allocations: 67.45 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4068, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003012/0.4098, allocations: 1.455 MB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004993/0.4103, allocations: 147.6 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.4104, allocations: 0 / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.4104, allocations: 3.938 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.4104, allocations: 3.984 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.4108, allocations: 43.84 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.4109, allocations: 16 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.411, allocations: 7.984 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.411, allocations: 11.88 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.4111, allocations: 15.97 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.4111, allocations: 4 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.4112, allocations: 31.91 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.4112, allocations: 11.92 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.4113, allocations: 4 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.4114, allocations: 52.09 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4114, allocations: 0 / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4114, allocations: 4 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4114, allocations: 3.938 kB / 1.327 GB, free: 0.5742 MB / 1.014 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.0005101/0.4119, allocations: 266.3 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.412, allocations: 12.03 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.412, allocations: 34.73 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.061e-05/0.4121, allocations: 4.938 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4122, allocations: 114.4 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4122, allocations: 384 / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.4123, allocations: 384 / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4124, allocations: 54.23 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4125, allocations: 3.938 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.4125, allocations: 0 / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4125, allocations: 0 / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.4127, allocations: 39.89 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.413, allocations: 212 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.4131, allocations: 42.48 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.4132, allocations: 28.91 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.4134, allocations: 7.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4134, allocations: 30.56 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4134, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.4138, allocations: 85.58 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4138, allocations: 51.41 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.4139, allocations: 97.86 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4139, allocations: 33.83 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.414, allocations: 84.12 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.414, allocations: 3.953 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.414, allocations: 17.72 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4142, allocations: 310.8 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.4142, allocations: 11.98 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.4143, allocations: 23.97 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4145, allocations: 40.83 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4145, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.4147, allocations: 61.66 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4147, allocations: 8 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.4147, allocations: 3.938 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4147, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.4148, allocations: 7.984 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4148, allocations: 4.031 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.4148, allocations: 4 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4148, allocations: 4 kB / 1.328 GB, free: 14.7 MB / 1.029 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.999e-05/0.4149, allocations: 114.3 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.415, allocations: 7.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4152, allocations: 76.91 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4152, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4152, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4152, allocations: 4.031 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4154, allocations: 124.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4154, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.4154, allocations: 12.19 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4154, allocations: 3.984 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4154, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4154, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4154, allocations: 3.984 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.4157, allocations: 175.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.4157, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.4157, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4158, allocations: 8 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.4158, allocations: 3.984 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4158, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.4159, allocations: 75.28 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4159, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002435/0.4161, allocations: 15.94 kB / 1.329 GB, free: 14 MB / 1.029 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.000684/0.4168, allocations: 0.7163 MB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.417, allocations: 39.89 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.417, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.4171, allocations: 24.08 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.4174, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.4179, allocations: 151.1 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.4179, allocations: 63.34 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.418, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.418, allocations: 7.438 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.418, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.4479, allocations: 2.047 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 11.92 kB / 1.332 GB, free: 10.99 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.950038185808808]