Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001685/0.001685, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.001616/0.001616, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.336/3.336, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_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.002033/0.002033, allocations: 75.05 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3551, allocations: 176.1 MB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001705/0.3568, allocations: 0.5981 MB / 1.321 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.3572, allocations: 103.6 kB / 1.322 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.3572, allocations: 4 kB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.3572, allocations: 0 / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.3572, allocations: 4 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3575, allocations: 27.91 kB / 1.322 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.979e-05/0.3576, allocations: 0 / 1.322 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.3576, allocations: 4 kB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.3577, allocations: 0 / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.677e-05/0.3577, allocations: 0 / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.3577, allocations: 3.938 kB / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.3578, allocations: 35.95 kB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.3579, allocations: 0 / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.3579, allocations: 11.92 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.358, allocations: 32.12 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.358, allocations: 4 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.056e-06/0.358, allocations: 4 kB / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.358, allocations: 0 / 1.322 GB, free: 2.434 MB / 1.014 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.0003377/0.3583, allocations: 315.9 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3584, allocations: 11.98 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.3584, allocations: 30.75 kB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.3585, allocations: 0.9375 kB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3586, allocations: 160.4 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.3586, allocations: 384 / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.3586, allocations: 8.375 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.3587, allocations: 26.27 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3587, allocations: 3.938 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3587, allocations: 4 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3587, allocations: 0 / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.3587, allocations: 11.92 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.3589, allocations: 149.6 kB / 1.322 GB, free: 1.574 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.864e-05/0.3589, allocations: 14.58 kB / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3589, allocations: 16.95 kB / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.3591, allocations: 89.09 kB / 1.322 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3592, allocations: 30.56 kB / 1.322 GB, free: 1.387 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3592, allocations: 0 / 1.322 GB, free: 1.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.3593, allocations: 41.56 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3593, allocations: 51.41 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.3594, allocations: 89.98 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3594, allocations: 29.7 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.3594, allocations: 88.08 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3595, allocations: 7.953 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3595, allocations: 9.719 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3596, allocations: 310.8 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.3596, allocations: 4 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.3596, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.3597, allocations: 8.922 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3597, allocations: 4 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.653e-05/0.3597, allocations: 41.62 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3597, allocations: 4 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3597, allocations: 3.938 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3598, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.75e-05/0.3598, allocations: 8 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3598, allocations: 0 / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.3598, allocations: 0 / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.3598, allocations: 0 / 1.323 GB, free: 0.6367 MB / 1.014 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 6.793e-05/0.3599, allocations: 109.9 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.3599, allocations: 4 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.36, allocations: 44.69 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.36, allocations: 0 / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.36, allocations: 0 / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.36, allocations: 0 / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3601, allocations: 153.7 kB / 1.323 GB, free: 272 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3601, allocations: 0 / 1.323 GB, free: 272 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.3601, allocations: 4 kB / 1.323 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3601, allocations: 4.031 kB / 1.323 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3601, allocations: 3.938 kB / 1.323 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3601, allocations: 0 / 1.323 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3601, allocations: 0 / 1.323 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.3602, allocations: 57.14 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.3602, allocations: 81.09 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.3602, allocations: 3.938 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.3603, allocations: 7.969 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.3603, allocations: 0 / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3603, allocations: 4 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.3603, allocations: 79.22 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 3.938 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001944/0.3605, allocations: 7.938 kB / 1.324 GB, free: 15.98 MB / 1.029 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.0004823/0.361, allocations: 0.6085 MB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.3611, allocations: 3.984 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3611, allocations: 4 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.3611, allocations: 3.938 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.3612, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.3615, allocations: 122.6 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3618, allocations: 0.6768 MB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.3618, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.3618, allocations: 7.438 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3618, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3855, allocations: 1.158 MB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.274, allocations: 7.562 kB / 1.326 GB, free: 13.41 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.171881882008165]