Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001401/0.001401, 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.00209/0.00209, 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.773 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.216/3.216, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.002026/0.002026, allocations: 63.44 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002989/0.3455, allocations: 1.441 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004931/0.3504, allocations: 2.639 MB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.3505, allocations: 3.938 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.3505, allocations: 3.938 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.3506, allocations: 19.86 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.3555, allocations: 1.608 MB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3556, allocations: 39.73 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.3556, allocations: 4 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.3557, allocations: 15.92 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.3557, allocations: 11.94 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.3557, allocations: 0 / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.3585, allocations: 1.458 MB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3585, allocations: 3.938 kB / 1.371 GB, free: 6.785 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.3586, allocations: 15.94 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.3604, allocations: 1.075 MB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3605, allocations: 0 / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3605, allocations: 0 / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3605, allocations: 4 kB / 1.372 GB, free: 5.688 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007713/0.3612, allocations: 473.6 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3613, allocations: 12.69 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.3613, allocations: 118 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.3614, allocations: 80.22 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3616, allocations: 187.2 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/0.3617, allocations: 150.9 kB / 1.373 GB, free: 4.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.3617, allocations: 158.9 kB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.3618, allocations: 104.9 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.3619, allocations: 79.28 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.3619, allocations: 150.6 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.723e-05/0.362, allocations: 150.6 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.3621, allocations: 158.5 kB / 1.373 GB, free: 3.828 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.3624, allocations: 440.9 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3625, allocations: 165.1 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.3626, allocations: 80.14 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.3626, allocations: 87.16 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.3627, allocations: 113.8 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3627, allocations: 0 / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.905e-05/0.3628, allocations: 33.7 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.3628, allocations: 126.7 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.363, allocations: 132 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.363, allocations: 29.69 kB / 1.375 GB, free: 2.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.3631, allocations: 92.14 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3631, allocations: 0 / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3631, allocations: 13.72 kB / 1.375 GB, free: 2.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3633, allocations: 322.9 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.3633, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.3633, allocations: 8 kB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.3633, allocations: 24.8 kB / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3633, allocations: 0 / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.3635, allocations: 49.62 kB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3635, allocations: 4 kB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3635, allocations: 4 kB / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3635, allocations: 0 / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3635, allocations: 0 / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.3635, allocations: 0 / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.3635, allocations: 11.89 kB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3636, allocations: 0 / 1.375 GB, free: 2 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000104/0.3637, allocations: 185.2 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.3637, allocations: 120.8 kB / 1.375 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.3638, allocations: 108.8 kB / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.897e-05/0.3639, allocations: 184.2 kB / 1.376 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.271e-05/0.364, allocations: 180.3 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.459e-05/0.364, allocations: 180.2 kB / 1.376 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3643, allocations: 388.2 kB / 1.376 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/0.3643, allocations: 105 kB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3644, allocations: 104.9 kB / 1.377 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.3644, allocations: 180.3 kB / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.171e-05/0.3645, allocations: 184.2 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.365e-05/0.3646, allocations: 184.2 kB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-05/0.3647, allocations: 180.3 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.3648, allocations: 311.7 kB / 1.377 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.3649, allocations: 112.9 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.365, allocations: 184.2 kB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.3651, allocations: 105 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.3651, allocations: 184.2 kB / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.3652, allocations: 101 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.3653, allocations: 109.5 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3653, allocations: 4 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008159/0.3661, allocations: 287 kB / 1.379 GB, free: 14.2 MB / 1.076 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 (0): * Single equations (assignments): 0 * 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.001579/0.3677, allocations: 1.179 MB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.3678, allocations: 33.69 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3678, allocations: 4 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3678, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3682, allocations: 463.8 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3697, allocations: 1.589 MB / 1.382 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.3698, allocations: 83.17 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.305e-05/0.3698, allocations: 0 / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3698, allocations: 11.44 kB / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3698, allocations: 0 / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.4072, allocations: 7.612 MB / 1.389 GB, free: 3.277 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 28.22 kB / 1.389 GB, free: 3.254 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.565523854922503]