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.0008235/0.0008235, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009094/0.0009094, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8974/0.8974, 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.787/1.787, 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.613e-06/1.613e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.489e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0009606/0.0009755, allocations: 0.594 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.00122, allocations: 75.69 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.001233, allocations: 3.938 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.001247, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.001254, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.001581, allocations: 39.78 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.047e-05/0.001622, allocations: 11.98 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.001656, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.001676, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.334e-05/0.00169, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.0017, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.001799, allocations: 35.89 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.001807, allocations: 4 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.141e-05/0.001818, allocations: 0 / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.394e-05/0.001912, allocations: 27.89 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.001914, allocations: 4 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.001914, allocations: 4 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.001918, 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.0001934/0.002112, allocations: 238.4 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.002146, allocations: 8.75 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.002172, allocations: 38.73 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.002205, allocations: 4.938 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.065e-05/0.002256, allocations: 105.8 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.002264, allocations: 384 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-06/0.00227, allocations: 384 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.974e-05/0.00234, allocations: 34.2 kB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.002346, allocations: 192 / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.002352, allocations: 4.375 kB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.002356, allocations: 4.125 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.002373, allocations: 3.938 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.002468, allocations: 124.8 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.205e-05/0.0025, allocations: 14.58 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.002517, allocations: 8.953 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.002659, allocations: 7.984 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.002676, allocations: 34.56 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002677, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.002786, allocations: 37.64 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.002813, allocations: 59.34 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.98e-05/0.002843, allocations: 89.86 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.002853, allocations: 25.7 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.724e-05/0.00287, allocations: 80.14 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.002891, allocations: 0 / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.002913, allocations: 17.7 kB / 1.001 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.003107, allocations: 318.8 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.003115, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.00312, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.003141, allocations: 13.05 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.003143, allocations: 0 / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.839e-05/0.003182, allocations: 37.59 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.003192, allocations: 8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.003196, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.003205, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.169e-05/0.003237, allocations: 3.984 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.003243, allocations: 3.938 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-06/0.00325, allocations: 4 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.003254, allocations: 0 / 1.002 GB, free: 11.16 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.27e-05/0.003296, allocations: 113.9 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.003304, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.003359, allocations: 44.61 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-07/0.00336, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.003365, allocations: 7.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.003367, allocations: 3.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.247e-05/0.00342, allocations: 116.8 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00342, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-06/0.003426, allocations: 4 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.003427, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.003431, allocations: 4.031 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.003432, allocations: 4 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.003434, allocations: 3.938 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.507e-05/0.003479, allocations: 57.12 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-06/0.003482, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.003489, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-06/0.003492, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.003509, allocations: 7.938 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.00351, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.768e-05/0.003528, allocations: 79.22 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003528, allocations: 4.031 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001251/0.003653, allocations: 7.984 kB / 1.002 GB, free: 10.64 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.0002514/0.003904, allocations: 0.5968 MB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 4.696e-05/0.003951, allocations: 4 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.003953, allocations: 4 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.003957, allocations: 8.031 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.911e-05/0.004047, allocations: 8 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.004246, allocations: 106.6 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.004274, allocations: 59.3 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.656e-06/0.004282, allocations: 4 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.004295, allocations: 8.5 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of SimCode: time 3.31e-07/0.004296, allocations: 0 / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.01698, allocations: 1.781 MB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.045, allocations: 4 kB / 1.005 GB, free: 8.105 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 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.csv","/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: 11.184638956561685]