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.001345/0.001345, allocations: 114.3 kB / 18.94 MB, free: 2.953 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.001567/0.001567, allocations: 214.9 kB / 22.25 MB, free: 5.121 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.538/1.538, allocations: 230.6 MB / 256 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.445/3.445, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_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.002026/0.002026, allocations: 70.31 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4453, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003164/0.4485, allocations: 1.461 MB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.4489, allocations: 155.6 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.449, allocations: 0 / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.449, allocations: 0 / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.449, allocations: 3.938 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.4494, allocations: 35.89 kB / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.4495, allocations: 23.92 kB / 1.354 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4496, allocations: 7.984 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.4496, allocations: 15.91 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.4497, allocations: 8 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4497, allocations: 4 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.4498, allocations: 43.95 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.4498, allocations: 3.938 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.4498, allocations: 15.92 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.45, allocations: 44.09 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.45, allocations: 0 / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.243e-06/0.45, allocations: 0 / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.45, allocations: 0 / 1.355 GB, free: 6.598 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.0004825/0.4505, allocations: 266.3 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4505, allocations: 12.03 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.4506, allocations: 38.75 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.4506, allocations: 4.875 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.4507, allocations: 114.5 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.4508, allocations: 384 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4508, allocations: 384 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.451, allocations: 50.23 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.451, allocations: 3.938 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.451, allocations: 0 / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.451, allocations: 4 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.4512, allocations: 39.89 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4515, allocations: 212.1 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.4517, allocations: 42.48 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.4518, allocations: 24.91 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.4519, allocations: 7.984 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.4519, allocations: 38.5 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4519, allocations: 0 / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003714/0.4523, allocations: 81.58 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.4524, allocations: 59.53 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.4525, allocations: 93.86 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.4525, allocations: 29.7 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.4526, allocations: 80.14 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4526, allocations: 11.88 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.4526, allocations: 13.72 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4528, allocations: 314.8 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.4528, allocations: 19.98 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.4529, allocations: 19.97 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.4531, allocations: 40.77 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4531, allocations: 3.938 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.4533, allocations: 65.7 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4533, allocations: 13.41 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4533, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4533, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.4534, allocations: 7.984 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4534, allocations: 4 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.4534, allocations: 0 / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.4534, allocations: 4 kB / 1.356 GB, free: 4.715 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 8.551e-05/0.4535, allocations: 117.7 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4535, allocations: 7.938 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.4538, allocations: 76.89 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4538, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4538, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4538, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.4539, allocations: 128.7 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4539, allocations: 4 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.454, allocations: 7.984 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.454, allocations: 4.219 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.454, allocations: 4 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.454, allocations: 4 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.454, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4543, allocations: 167.4 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.4543, allocations: 7.953 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.4543, allocations: 4.031 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4544, allocations: 11.98 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4544, allocations: 0 / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4544, allocations: 0 / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.4544, allocations: 83.27 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0 / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002424/0.4547, allocations: 8 kB / 1.357 GB, free: 4.02 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.0006952/0.4554, allocations: 0.7161 MB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4556, allocations: 36 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4556, allocations: 4 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.4557, allocations: 15.98 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.456, allocations: 13.47 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.4564, allocations: 135.1 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4567, allocations: 0.6729 MB / 1.358 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.4567, allocations: 16.09 kB / 1.358 GB, free: 2.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.4567, allocations: 7.438 kB / 1.358 GB, free: 2.312 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4567, allocations: 0 / 1.358 GB, free: 2.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.4856, allocations: 1.597 MB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.51, allocations: 6.781 kB / 1.36 GB, free: 0.8398 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: 18.851814568974078]