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.001902/0.001902, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002474/0.002474, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.525/3.525, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",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.002022/0.002022, allocations: 66.11 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3791, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002548/0.3816, allocations: 1.459 MB / 1.347 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00041/0.382, allocations: 151.6 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.382, allocations: 4 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.3821, allocations: 3.938 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.3821, allocations: 11.92 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3824, allocations: 31.91 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.3825, allocations: 15.98 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.3826, allocations: 11.88 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.3826, allocations: 7.984 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.3826, allocations: 15.92 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3827, allocations: 4 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3828, allocations: 39.95 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.3828, allocations: 4 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.3828, allocations: 11.94 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3829, allocations: 40.16 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3829, allocations: 0 / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3829, allocations: 4 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3829, allocations: 0 / 1.347 GB, free: 14.64 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.0004493/0.3834, allocations: 271.5 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3834, allocations: 12.03 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.3835, allocations: 4.188 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.3835, allocations: 34.73 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3835, allocations: 4.875 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3836, allocations: 118.5 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3837, allocations: 384 / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3837, allocations: 4.375 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3839, allocations: 49.98 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3839, allocations: 0 / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.3839, allocations: 4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3839, allocations: 4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.384, allocations: 31.91 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.3845, allocations: 224 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3846, allocations: 34.56 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.3847, allocations: 24.91 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.3848, allocations: 11.98 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3849, allocations: 30.56 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3849, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004038/0.3853, allocations: 85.58 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3853, allocations: 55.53 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.3854, allocations: 97.84 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3854, allocations: 25.7 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.3855, allocations: 88.14 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3855, allocations: 7.891 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.3855, allocations: 9.719 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3857, allocations: 322.8 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.3858, allocations: 15.98 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-05/0.3858, allocations: 15.98 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.386, allocations: 48.69 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.386, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002084/0.3862, allocations: 65.72 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3862, allocations: 8 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3862, allocations: 0 / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3862, allocations: 0 / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.3863, allocations: 15.92 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3863, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.3864, allocations: 7.984 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3864, allocations: 0 / 1.349 GB, free: 12.74 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 9.689e-05/0.3865, allocations: 117.8 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.3865, allocations: 4 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3867, allocations: 68.91 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3868, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3868, allocations: 4 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3868, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3869, allocations: 132.7 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3869, allocations: 3.938 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.387, allocations: 7.984 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.387, allocations: 8.031 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.387, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.387, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.387, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3873, allocations: 167.6 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.3873, allocations: 7.938 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3873, allocations: 4.031 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.3874, allocations: 7.984 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3874, allocations: 8 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3874, allocations: 4 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.3874, allocations: 79.28 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3874, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002342/0.3877, allocations: 8 kB / 1.349 GB, free: 12.05 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.0006516/0.3883, allocations: 0.7085 MB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3885, allocations: 43.92 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3885, allocations: 0 / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.3886, allocations: 19.98 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3889, allocations: 3.938 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.3893, allocations: 139.1 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.3896, allocations: 0.6806 MB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.3896, allocations: 4.125 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.3897, allocations: 15.44 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3897, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.4113, allocations: 1.62 MB / 1.353 GB, free: 8.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 8.484 kB / 1.353 GB, free: 8.859 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.214308935042936]