Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001595/0.001595, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001951/0.001951, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.801 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.229/3.229, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001997/0.001997, allocations: 66.61 kB / 1.186 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005224/0.3321, allocations: 3.803 MB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.3355, allocations: 2.223 MB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.3358, allocations: 8 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3374, allocations: 0.5208 MB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.3379, allocations: 242.1 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3381, allocations: 143.8 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.3389, allocations: 0.8058 MB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.3393, allocations: 219 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.3397, allocations: 302.9 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.3401, allocations: 286.6 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.849e-05/0.3402, allocations: 72 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3403, allocations: 76 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3405, allocations: 163.5 kB / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.3408, allocations: 318.7 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.3417, allocations: 0.9981 MB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3417, allocations: 0 / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3417, allocations: 3.938 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3417, allocations: 0 / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001425/0.3432, allocations: 0.8997 MB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3432, allocations: 8.031 kB / 1.374 GB, free: 3.094 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.3433, allocations: 86.7 kB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3434, allocations: 76.47 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.3441, allocations: 408.2 kB / 1.375 GB, free: 2.504 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.3441, allocations: 33.38 kB / 1.375 GB, free: 2.473 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.3442, allocations: 52.36 kB / 1.375 GB, free: 2.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.345, allocations: 426.6 kB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.345, allocations: 0 / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.345, allocations: 20 kB / 1.375 GB, free: 1.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.345, allocations: 12 kB / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.3457, allocations: 371.8 kB / 1.376 GB, free: 1.602 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.3478, allocations: 1.257 MB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.3483, allocations: 315.2 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.3488, allocations: 284.5 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3488, allocations: 7.938 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3488, allocations: 30.56 kB / 1.377 GB, free: 15.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=42): time 2.003e-06/0.3488, allocations: 4 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.0009862/0.3498, allocations: 0.5012 MB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3499, allocations: 55.41 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.3504, allocations: 481.9 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3505, allocations: 33.7 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.3507, allocations: 284.6 kB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3508, allocations: 150.7 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3509, allocations: 62.08 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3511, allocations: 358.8 kB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.3514, allocations: 124.7 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3516, allocations: 121.5 kB / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.3522, allocations: 298.2 kB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3522, allocations: 4.703 kB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006971/0.3529, allocations: 400.4 kB / 1.38 GB, free: 12.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3529, allocations: 8 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3529, allocations: 4 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3529, allocations: 0 / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.3534, allocations: 127.9 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3534, allocations: 4 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3536, allocations: 39.7 kB / 1.38 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3537, allocations: 8 kB / 1.38 GB, free: 12.57 MB / 1.076 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 (46): * Single equations (assignments): 46 * 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 0.0002348/0.3539, allocations: 198.9 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.354, allocations: 59.56 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.3541, allocations: 61.11 kB / 1.381 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.3541, allocations: 4 kB / 1.381 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3541, allocations: 7.938 kB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3541, allocations: 3.984 kB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.3547, allocations: 476.4 kB / 1.381 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3547, allocations: 3.938 kB / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.3553, allocations: 127.8 kB / 1.381 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3553, allocations: 0 / 1.381 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3553, allocations: 8 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3553, allocations: 4 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3553, allocations: 3.984 kB / 1.381 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3563, allocations: 0.656 MB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3565, allocations: 67.52 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.3565, allocations: 4 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3567, allocations: 15.98 kB / 1.382 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.3568, allocations: 23.95 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3568, allocations: 12 kB / 1.382 GB, free: 10.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004166/0.3572, allocations: 351.1 kB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3572, allocations: 4 kB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000397/0.3576, allocations: 143.7 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001358/0.359, allocations: 1.207 MB / 1.384 GB, free: 9.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000654/0.3596, allocations: 304.3 kB / 1.384 GB, free: 8.773 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3596, allocations: 3.938 kB / 1.384 GB, free: 8.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.36, allocations: 175.5 kB / 1.384 GB, free: 8.598 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.3606, allocations: 126.8 kB / 1.384 GB, free: 8.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.3673, allocations: 4.839 MB / 1.389 GB, free: 3.562 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3676, allocations: 271 kB / 1.389 GB, free: 3.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.3679, allocations: 60.34 kB / 1.389 GB, free: 3.207 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3681, allocations: 191.4 kB / 1.39 GB, free: 3.02 MB / 1.076 GB Notification: Performance of SimCode: time 1.162e-06/0.3681, allocations: 0 / 1.39 GB, free: 3.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04287/0.411, allocations: 12.61 MB / 1.402 GB, free: 6.723 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 9.094 kB / 1.402 GB, free: 6.719 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.466037788894027]