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.0018/0.0018, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.002306/0.002306, allocations: 214.5 kB / 22.25 MB, free: 5.168 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 8.004 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.432/3.432, allocations: 0.49 GB / 0.7951 GB, free: 33.48 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.002151/0.002151, allocations: 69.67 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4445, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003092/0.4476, allocations: 1.474 MB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.4481, allocations: 159.5 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.4481, allocations: 0 / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.4482, allocations: 7.875 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.4482, allocations: 3.984 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.4486, allocations: 35.84 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.4487, allocations: 27.92 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4488, allocations: 3.984 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.4488, allocations: 12 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.4489, allocations: 19.91 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4489, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.4491, allocations: 39.91 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.4491, allocations: 7.984 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.4491, allocations: 11.94 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.4493, allocations: 44.16 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4493, allocations: 3.938 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4493, allocations: 3.938 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.4493, allocations: 0 / 1.328 GB, free: 120 kB / 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.0006196/0.4499, allocations: 274.3 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.45, allocations: 8.031 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.45, allocations: 30.75 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.4501, allocations: 4.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4503, allocations: 106.5 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4503, allocations: 384 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4503, allocations: 4.375 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4505, allocations: 50.23 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4505, allocations: 7.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4505, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4505, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.4507, allocations: 39.89 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.4512, allocations: 220 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4513, allocations: 46.48 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.4514, allocations: 20.89 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.4515, allocations: 4 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4515, allocations: 38.55 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4516, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003765/0.4519, allocations: 81.69 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.452, allocations: 55.39 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.4521, allocations: 97.86 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4521, allocations: 29.7 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.4521, allocations: 80.14 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.4522, allocations: 7.953 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.4522, allocations: 17.7 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4524, allocations: 310.8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.4525, allocations: 20.02 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.4525, allocations: 19.92 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4527, allocations: 40.75 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4527, allocations: 3.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.4529, allocations: 73.73 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4529, allocations: 7.984 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4529, allocations: 3.938 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4529, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.453, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.453, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.453, allocations: 7.984 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.453, allocations: 0 / 1.329 GB, free: 14.23 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 9.527e-05/0.4531, allocations: 118.3 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4532, allocations: 3.953 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.4534, allocations: 76.89 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4534, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4534, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4534, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4536, allocations: 128.7 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4536, allocations: 32 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.4536, allocations: 15.98 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4536, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4537, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4537, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4537, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.4539, allocations: 171.4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.4539, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4539, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.454, allocations: 3.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.454, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.454, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.4541, allocations: 87.27 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4541, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002281/0.4543, allocations: 11.94 kB / 1.33 GB, free: 13.54 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.0006413/0.455, allocations: 0.7124 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4552, allocations: 43.92 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4552, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.4552, allocations: 19.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.4556, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.456, allocations: 158.9 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4563, allocations: 0.6769 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.4563, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.4564, allocations: 19.42 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4564, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.4844, allocations: 1.619 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.5, allocations: 10.53 kB / 1.333 GB, free: 10.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 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.mat","/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.942267439095303]