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.00184/0.00184, allocations: 120 kB / 17.17 MB, free: 5.977 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.002195/0.002195, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.838/2.838, allocations: 0.5003 GB / 0.8026 GB, free: 6.781 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",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="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.001931/0.001931, allocations: 67.88 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8613, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004645/0.8659, allocations: 4.201 MB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.8694, allocations: 2.458 MB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005566/0.87, allocations: 10.75 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.8718, allocations: 0.5682 MB / 1.347 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.8726, allocations: 239.1 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.8729, allocations: 142.2 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008648/0.8738, allocations: 0.8143 MB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.8741, allocations: 232.1 kB / 1.349 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.8746, allocations: 308.4 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.875, allocations: 325.7 kB / 1.349 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.8751, allocations: 73.78 kB / 1.349 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.8752, allocations: 74.31 kB / 1.349 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.8754, allocations: 173.2 kB / 1.35 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.8757, allocations: 388.1 kB / 1.35 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.8768, allocations: 0.9945 MB / 1.351 GB, free: 9.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8768, allocations: 4 kB / 1.351 GB, free: 9.391 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8768, allocations: 3.969 kB / 1.351 GB, free: 9.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.8768, allocations: 0 / 1.351 GB, free: 9.391 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.001393/0.8782, allocations: 0.9619 MB / 1.352 GB, free: 8.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8782, allocations: 9.969 kB / 1.352 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.52e-05/0.8783, allocations: 12.91 kB / 1.352 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.8e-05/0.8784, allocations: 85.36 kB / 1.352 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.8785, allocations: 81.95 kB / 1.352 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.8791, allocations: 461.9 kB / 1.352 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.8791, allocations: 33.06 kB / 1.352 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.8792, allocations: 48.09 kB / 1.353 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.8799, allocations: 433.6 kB / 1.353 GB, free: 7.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.8799, allocations: 4.5 kB / 1.353 GB, free: 7.977 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.88, allocations: 20.81 kB / 1.353 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.88, allocations: 11.16 kB / 1.353 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.8807, allocations: 369.3 kB / 1.353 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.8828, allocations: 1.524 MB / 1.355 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.8833, allocations: 313.9 kB / 1.355 GB, free: 6.777 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.8837, allocations: 285.2 kB / 1.355 GB, free: 6.676 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.8838, allocations: 9.297 kB / 1.355 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.8838, allocations: 36.75 kB / 1.355 GB, free: 6.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.8838, allocations: 0 / 1.355 GB, free: 6.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=42): time 0.0009653/0.8847, allocations: 0.4993 MB / 1.356 GB, free: 6.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.8848, allocations: 56.06 kB / 1.356 GB, free: 6.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.8853, allocations: 484.4 kB / 1.356 GB, free: 6.117 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.8853, allocations: 31.89 kB / 1.356 GB, free: 6.082 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.8855, allocations: 279.6 kB / 1.357 GB, free: 5.859 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8856, allocations: 151 kB / 1.357 GB, free: 5.738 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.8857, allocations: 62.03 kB / 1.357 GB, free: 5.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.8858, allocations: 366.9 kB / 1.357 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.886, allocations: 120.3 kB / 1.357 GB, free: 5.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.8862, allocations: 123.5 kB / 1.358 GB, free: 5.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.8867, allocations: 297.2 kB / 1.358 GB, free: 5.129 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8867, allocations: 0 / 1.358 GB, free: 5.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006311/0.8873, allocations: 408.2 kB / 1.358 GB, free: 4.934 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8874, allocations: 10.02 kB / 1.358 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8874, allocations: 1.281 kB / 1.358 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.8874, allocations: 1.156 kB / 1.358 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.8879, allocations: 124.5 kB / 1.358 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8879, allocations: 5.797 kB / 1.358 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.8882, allocations: 39.69 kB / 1.358 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.8882, allocations: 7.469 kB / 1.358 GB, free: 4.891 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 (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.0001867/0.8884, allocations: 199.1 kB / 1.359 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.8885, allocations: 57.05 kB / 1.359 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.8886, allocations: 60.66 kB / 1.359 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8886, allocations: 5.016 kB / 1.359 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.8886, allocations: 4 kB / 1.359 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.8886, allocations: 2.984 kB / 1.359 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.8893, allocations: 0.5845 MB / 1.359 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8893, allocations: 1.641 kB / 1.359 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.8898, allocations: 127.7 kB / 1.359 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.8898, allocations: 2.516 kB / 1.359 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.8898, allocations: 6.156 kB / 1.359 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.8898, allocations: 2.219 kB / 1.359 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8898, allocations: 0.5625 kB / 1.359 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.8907, allocations: 0.6594 MB / 1.36 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.8909, allocations: 133 kB / 1.36 GB, free: 3.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.8909, allocations: 10.66 kB / 1.36 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.8911, allocations: 12.11 kB / 1.36 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.8912, allocations: 23.56 kB / 1.36 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.8912, allocations: 11.7 kB / 1.36 GB, free: 3.738 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003856/0.8916, allocations: 348.9 kB / 1.361 GB, free: 3.582 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8916, allocations: 0 / 1.361 GB, free: 3.582 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004648/0.8921, allocations: 141.3 kB / 1.361 GB, free: 3.555 MB / 1.061 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.001109/0.8932, allocations: 1.214 MB / 1.362 GB, free: 2.652 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.8938, allocations: 299 kB / 1.362 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8938, allocations: 0 / 1.362 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.8941, allocations: 169.5 kB / 1.362 GB, free: 2.496 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.8947, allocations: 121.1 kB / 1.362 GB, free: 2.445 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.9009, allocations: 4.859 MB / 1.367 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.9015, allocations: 0.871 MB / 1.368 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.9018, allocations: 52.03 kB / 1.368 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.9021, allocations: 188.4 kB / 1.368 GB, free: 14.87 MB / 1.076 GB Notification: Performance of SimCode: time 1.342e-06/0.9021, allocations: 0 / 1.368 GB, free: 14.87 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.624/2.527, allocations: 11.56 MB / 1.38 GB, free: 13.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.9, allocations: 8.391 kB / 1.38 GB, free: 13.66 MB / 1.076 GB " [Timeout remaining time 284] (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: 22.468931397015695]