Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 111 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 476.7 MB / 0.7635 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.108 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7555/0.7575, allocations: 168.7 MB / 1.272 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005972/0.7635, allocations: 4.217 MB / 1.277 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.7676, allocations: 2.413 MB / 1.279 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.768, allocations: 8 kB / 1.279 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.7697, allocations: 0.5422 MB / 1.279 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.7703, allocations: 258 kB / 1.28 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.7706, allocations: 131.9 kB / 1.28 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000896/0.7715, allocations: 0.8184 MB / 1.281 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.7719, allocations: 238.5 kB / 1.281 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.7722, allocations: 283 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.7727, allocations: 330.6 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.7727, allocations: 75.94 kB / 1.282 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.7729, allocations: 76 kB / 1.282 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.7731, allocations: 171.4 kB / 1.282 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.7735, allocations: 386.2 kB / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.7745, allocations: 1.004 MB / 1.283 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7745, allocations: 0 / 1.283 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7745, allocations: 0 / 1.283 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.7746, allocations: 0 / 1.283 GB, free: 9.371 MB / 0.9825 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.001547/0.7761, allocations: 0.973 MB / 1.284 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7761, allocations: 12.03 kB / 1.284 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.7762, allocations: 86.7 kB / 1.284 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.7764, allocations: 80.47 kB / 1.284 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.7771, allocations: 462.1 kB / 1.285 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.7772, allocations: 37.38 kB / 1.285 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.7772, allocations: 52.33 kB / 1.285 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/0.7781, allocations: 430.5 kB / 1.285 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.7781, allocations: 0 / 1.285 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.7781, allocations: 16 kB / 1.285 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.7781, allocations: 12 kB / 1.285 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.7789, allocations: 371.8 kB / 1.286 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.7812, allocations: 1.524 MB / 1.287 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.7818, allocations: 319.4 kB / 1.287 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.7823, allocations: 292.8 kB / 1.288 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.7823, allocations: 7.938 kB / 1.288 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.7824, allocations: 42.34 kB / 1.288 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.7824, allocations: 0 / 1.288 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.001018/0.7834, allocations: 0.4901 MB / 1.288 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.7834, allocations: 55.41 kB / 1.288 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.7841, allocations: 485.9 kB / 1.289 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.7841, allocations: 37.58 kB / 1.289 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.7843, allocations: 280.7 kB / 1.289 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.7845, allocations: 154.6 kB / 1.289 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.7846, allocations: 62.08 kB / 1.289 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7848, allocations: 362.8 kB / 1.29 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.785, allocations: 124.7 kB / 1.29 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.7853, allocations: 121.5 kB / 1.29 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.7858, allocations: 298.2 kB / 1.29 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7858, allocations: 0 / 1.29 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007827/0.7866, allocations: 400.5 kB / 1.29 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7866, allocations: 8 kB / 1.29 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7866, allocations: 0 / 1.29 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7866, allocations: 4 kB / 1.29 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.7871, allocations: 127.8 kB / 1.291 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7872, allocations: 0 / 1.291 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.7874, allocations: 35.72 kB / 1.291 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.7874, allocations: 12 kB / 1.291 GB, free: 1.438 MB / 0.9825 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.0002591/0.7877, allocations: 201.7 kB / 1.291 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.7878, allocations: 59.59 kB / 1.291 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.7879, allocations: 61.11 kB / 1.291 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.7879, allocations: 8 kB / 1.291 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7879, allocations: 0 / 1.291 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.7879, allocations: 3.984 kB / 1.291 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.7886, allocations: 0.5674 MB / 1.291 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7886, allocations: 7.922 kB / 1.291 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.7892, allocations: 127.9 kB / 1.292 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7892, allocations: 3.938 kB / 1.292 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.7892, allocations: 8 kB / 1.292 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7892, allocations: 0 / 1.292 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7892, allocations: 0 / 1.292 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.7904, allocations: 0.6511 MB / 1.292 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.7906, allocations: 144.7 kB / 1.292 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.7906, allocations: 8 kB / 1.292 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.7909, allocations: 15.98 kB / 1.292 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.7909, allocations: 19.97 kB / 1.292 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.7909, allocations: 12 kB / 1.292 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004335/0.7914, allocations: 347.1 kB / 1.293 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7914, allocations: 0 / 1.293 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004248/0.7918, allocations: 151.7 kB / 1.293 GB, free: 14.97 MB / 0.9981 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.001407/0.7932, allocations: 1.22 MB / 1.294 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.7938, allocations: 296 kB / 1.294 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7938, allocations: 4 kB / 1.294 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.7941, allocations: 171.6 kB / 1.295 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.7948, allocations: 122 kB / 1.295 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007237/0.8021, allocations: 4.875 MB / 1.299 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.8028, allocations: 0.8704 MB / 1.3 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.803, allocations: 56.38 kB / 1.3 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.8033, allocations: 191.4 kB / 1.301 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/0.8033, allocations: 0 / 1.301 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.8442, allocations: 11.48 MB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/9.455, allocations: 0 / 1.312 GB, free: 11.82 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.177033310988918]