Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001351/0.001351, 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.001517/0.001517, allocations: 217.9 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.371/3.371, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.001976/0.001976, allocations: 63.12 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 179 MB / 1.345 GB, free: 424 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001746/0.3627, allocations: 0.5913 MB / 1.346 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.3631, allocations: 96.06 kB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.3631, allocations: 0 / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.3631, allocations: 0 / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.3631, allocations: 0 / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3634, allocations: 31.89 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.3635, allocations: 8 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.3635, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.136e-05/0.3635, allocations: 3.938 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.6e-05/0.3635, allocations: 3.984 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.3636, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3637, allocations: 35.97 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.3637, allocations: 7.984 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.3637, allocations: 0 / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.424e-05/0.3638, allocations: 28.12 kB / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3638, allocations: 0 / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3638, allocations: 0 / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3638, allocations: 0 / 1.346 GB, free: 15.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002912/0.3641, allocations: 242.4 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3641, allocations: 8.031 kB / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.3641, allocations: 8.125 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.3642, allocations: 30.75 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.3642, allocations: 4.922 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3643, allocations: 106.5 kB / 1.347 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3643, allocations: 384 / 1.347 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-06/0.3643, allocations: 384 / 1.347 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.3644, allocations: 30.02 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.3644, allocations: 0 / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.3644, allocations: 4 kB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3644, allocations: 0 / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.3645, allocations: 8 kB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.3646, allocations: 120.7 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.3647, allocations: 26.53 kB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.3647, allocations: 4.859 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.3648, allocations: 12.05 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3649, allocations: 34.5 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3649, allocations: 4 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001431/0.365, allocations: 37.64 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3651, allocations: 51.41 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.3651, allocations: 89.86 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3651, allocations: 25.7 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.3652, allocations: 80.14 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3652, allocations: 11.94 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3652, allocations: 17.66 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3654, allocations: 319 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.3654, allocations: 0 / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.3654, allocations: 0 / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.3654, allocations: 8.859 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3654, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.071e-05/0.3655, allocations: 37.64 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3655, allocations: 11.94 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3655, allocations: 0 / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3655, allocations: 4.094 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.3656, allocations: 3.984 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3656, allocations: 0 / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.3656, allocations: 4 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.3656, allocations: 0 / 1.347 GB, free: 14.09 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 (1): * Single equations (assignments): 1 * 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.186e-05/0.3657, allocations: 105.8 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3657, allocations: 3.938 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.189e-05/0.3658, allocations: 32.7 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3658, allocations: 12.02 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3658, allocations: 0 / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3658, allocations: 4 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3659, allocations: 116.8 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3659, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.3659, allocations: 3.938 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3659, allocations: 7.938 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3659, allocations: 0 / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3659, allocations: 0 / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3659, allocations: 0 / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.366, allocations: 61.12 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.366, allocations: 4 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.366, allocations: 3.938 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.366, allocations: 3.938 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3661, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.3661, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.3661, allocations: 75.28 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3661, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001971/0.3663, allocations: 16.02 kB / 1.348 GB, free: 13.57 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 (1): * Single equations (assignments): 1 * 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.0005185/0.3668, allocations: 0.6044 MB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.3669, allocations: 8.031 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3669, allocations: 0 / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.3669, allocations: 4 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.367, allocations: 0 / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3674, allocations: 114.5 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.3678, allocations: 0.669 MB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.021e-05/0.3678, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.3678, allocations: 7.438 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3678, allocations: 4.125 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.3888, allocations: 1.258 MB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.56, allocations: 14.22 kB / 1.35 GB, free: 10.95 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.80299890501192]