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.0008019/0.0008019, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008285/0.0008285, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8957/0.8957, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803/1.803, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.254e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001804/0.001827, allocations: 0.5799 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003579/0.002185, allocations: 91.56 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.002199, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.00222, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.002227, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.002632, allocations: 31.84 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.441e-05/0.002676, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.002726, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.002759, allocations: 7.984 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.002777, allocations: 0 / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.00279, allocations: 0 / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.002925, allocations: 35.89 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.002935, allocations: 7.984 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.002952, allocations: 7.938 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003066, allocations: 23.92 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.135e-06/0.003068, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003069, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003074, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 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.0002549/0.003329, allocations: 238.4 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.003379, allocations: 12.75 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.003413, allocations: 30.75 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.003448, allocations: 0.9375 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.151e-05/0.0035, allocations: 101.8 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.003509, allocations: 8.375 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.003516, allocations: 4.375 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.003594, allocations: 30.25 kB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.0036, allocations: 192 / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.003607, allocations: 384 / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003612, allocations: 8.062 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.003629, allocations: 4 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.00373, allocations: 112.8 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.003766, allocations: 18.61 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.00378, allocations: 8.859 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.003933, allocations: 12.05 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.003957, allocations: 30.56 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.003958, allocations: 4 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.004073, allocations: 37.62 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.004102, allocations: 55.34 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.772e-05/0.004129, allocations: 93.86 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.004137, allocations: 25.7 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.004155, allocations: 80.14 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.004178, allocations: 0 / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.004199, allocations: 17.66 kB / 1.001 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.004271, allocations: 315 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.004282, allocations: 7.938 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.004287, allocations: 4 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.00431, allocations: 12.78 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004313, allocations: 0 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.348e-05/0.004356, allocations: 41.66 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.004366, allocations: 4 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.00437, allocations: 0 / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004381, allocations: 3.984 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.475e-05/0.004416, allocations: 8.094 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.004422, allocations: 3.938 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-06/0.004429, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.004433, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 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 4.869e-05/0.004482, allocations: 109.8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.004492, allocations: 3.984 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.004549, allocations: 40.64 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004551, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.004555, allocations: 3.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004558, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.727e-05/0.004615, allocations: 128.8 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.004616, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-06/0.004622, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.004623, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.004628, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004629, allocations: 3.984 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.004631, allocations: 3.938 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.572e-05/0.004676, allocations: 61.12 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-06/0.004679, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/0.004686, allocations: 4 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-06/0.00469, allocations: 4.031 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.004701, allocations: 7.875 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.004703, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.004722, allocations: 75.28 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004722, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001343/0.004856, allocations: 8 kB / 1.002 GB, free: 10.63 MB / 0.9636 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.0002997/0.005156, allocations: 0.6046 MB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.977e-05/0.005216, allocations: 8 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005218, allocations: 0 / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.005221, allocations: 3.938 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.315e-05/0.005314, allocations: 9.656 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.005533, allocations: 114.5 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.005563, allocations: 55.34 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.448e-06/0.005573, allocations: 8 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.005588, allocations: 8.5 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.005588, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.02115, allocations: 1.771 MB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.86, allocations: 4.062 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.984478367492557]