Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.00185/0.00185, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00219/0.00219, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.431/1.431, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.899/2.899, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",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.001937/0.001937, allocations: 71.89 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8705/0.8725, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003614/0.8761, allocations: 3.072 MB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.8784, allocations: 2.199 MB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.8785, allocations: 5.5 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.8798, allocations: 0.5089 MB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.88, allocations: 154.9 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.8801, allocations: 56.64 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.8805, allocations: 434.7 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.8806, allocations: 110 kB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.8809, allocations: 166.7 kB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.8811, allocations: 187.5 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.8811, allocations: 34.12 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.8812, allocations: 35.28 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.8813, allocations: 97.67 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.8814, allocations: 213.6 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.882, allocations: 0.5465 MB / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.882, allocations: 0 / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.882, allocations: 0 / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.882, allocations: 3.938 kB / 1.348 GB, free: 11.34 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008725/0.8829, allocations: 0.7166 MB / 1.348 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8829, allocations: 10.84 kB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.606e-05/0.8829, allocations: 5.781 kB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.883, allocations: 53.3 kB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.883, allocations: 50.97 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.8835, allocations: 378.6 kB / 1.349 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8835, allocations: 13.22 kB / 1.349 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.8835, allocations: 21.69 kB / 1.349 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.8839, allocations: 204.7 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.8839, allocations: 5 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.8839, allocations: 5.156 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.884, allocations: 5.031 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.8843, allocations: 174.1 kB / 1.349 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.8853, allocations: 0.8605 MB / 1.35 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.8856, allocations: 158.2 kB / 1.35 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.8858, allocations: 99.83 kB / 1.35 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.8858, allocations: 2.469 kB / 1.35 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.8859, allocations: 32.12 kB / 1.35 GB, free: 9.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.8859, allocations: 0 / 1.35 GB, free: 9.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0005638/0.8864, allocations: 261.8 kB / 1.351 GB, free: 9.301 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.8864, allocations: 54.06 kB / 1.351 GB, free: 9.238 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.8869, allocations: 412.4 kB / 1.351 GB, free: 9.043 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.8869, allocations: 30.5 kB / 1.351 GB, free: 9.008 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.887, allocations: 203 kB / 1.351 GB, free: 8.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.887, allocations: 67.83 kB / 1.351 GB, free: 8.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.8871, allocations: 34.39 kB / 1.352 GB, free: 8.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.8871, allocations: 351.8 kB / 1.352 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.8873, allocations: 58.22 kB / 1.352 GB, free: 8.406 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.8874, allocations: 62.61 kB / 1.352 GB, free: 8.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.8877, allocations: 131.2 kB / 1.352 GB, free: 8.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8877, allocations: 1.312 kB / 1.352 GB, free: 8.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003593/0.888, allocations: 214.4 kB / 1.352 GB, free: 8.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8881, allocations: 10.53 kB / 1.352 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8881, allocations: 0 / 1.352 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8881, allocations: 2.719 kB / 1.352 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.8883, allocations: 58.19 kB / 1.352 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8883, allocations: 0.7031 kB / 1.352 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.8885, allocations: 16.75 kB / 1.352 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.8885, allocations: 7.281 kB / 1.352 GB, free: 8.199 MB / 1.061 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 (20): * Single equations (assignments): 20 * 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.000122/0.8886, allocations: 168.8 kB / 1.353 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.8887, allocations: 41.58 kB / 1.353 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.8887, allocations: 44 kB / 1.353 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8887, allocations: 3.156 kB / 1.353 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8887, allocations: 0 / 1.353 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8887, allocations: 1.406 kB / 1.353 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.8891, allocations: 370.8 kB / 1.353 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8891, allocations: 1.062 kB / 1.353 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.8893, allocations: 50.19 kB / 1.353 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8894, allocations: 8.625 kB / 1.353 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.8894, allocations: 10.31 kB / 1.353 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8894, allocations: 1.125 kB / 1.353 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8894, allocations: 0.6094 kB / 1.353 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.8899, allocations: 377.9 kB / 1.353 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.89, allocations: 118.7 kB / 1.354 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.89, allocations: 13.72 kB / 1.354 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.8902, allocations: 10.5 kB / 1.354 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.8902, allocations: 14.19 kB / 1.354 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.8902, allocations: 3.281 kB / 1.354 GB, free: 7.332 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002971/0.8905, allocations: 303.4 kB / 1.354 GB, free: 7.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8905, allocations: 0 / 1.354 GB, free: 7.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002998/0.8908, allocations: 72.39 kB / 1.354 GB, free: 7.172 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000692/0.8915, allocations: 0.9294 MB / 1.355 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.8919, allocations: 133.2 kB / 1.355 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8919, allocations: 4 kB / 1.355 GB, free: 6.359 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.892, allocations: 75.53 kB / 1.355 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.8926, allocations: 85.89 kB / 1.355 GB, free: 6.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.8965, allocations: 3.498 MB / 1.359 GB, free: 4.223 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.8967, allocations: 0.7928 MB / 1.359 GB, free: 3.516 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.8969, allocations: 31.36 kB / 1.359 GB, free: 3.512 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.897, allocations: 114 kB / 1.359 GB, free: 3.426 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.897, allocations: 0.9688 kB / 1.359 GB, free: 3.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.083/1.98, allocations: 8.064 MB / 1.367 GB, free: 2.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/11.57, allocations: 10.22 kB / 1.367 GB, free: 2.523 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 22.7972089649993]