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.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.001535/0.001535, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001708/0.001708, allocations: 217 kB / 22.25 MB, free: 5.082 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.004 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.133/3.133, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.002122/0.002122, allocations: 75.78 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002667/0.3357, allocations: 1.474 MB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.3403, allocations: 3.002 MB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.3404, allocations: 4 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.3404, allocations: 3.984 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.3404, allocations: 11.81 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.3443, allocations: 1.713 MB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.3444, allocations: 47.67 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.3445, allocations: 3.906 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.3445, allocations: 11.94 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.3445, allocations: 19.92 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3445, allocations: 7.984 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.347, allocations: 1.759 MB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.347, allocations: 7.938 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.347, allocations: 19.88 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3485, allocations: 1.15 MB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3485, allocations: 0 / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3485, allocations: 0 / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3485, allocations: 0 / 1.362 GB, free: 15.14 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.0005803/0.3491, allocations: 479.9 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3491, allocations: 16.75 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.3492, allocations: 106 kB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.3492, allocations: 80.17 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3494, allocations: 197.8 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.3495, allocations: 150.9 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.3495, allocations: 154.9 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.3496, allocations: 112.9 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.3496, allocations: 75.28 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.3497, allocations: 158.5 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.3498, allocations: 150.6 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.3498, allocations: 150.6 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.3501, allocations: 437 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.3502, allocations: 169.1 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.3503, allocations: 80.14 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3503, allocations: 79.22 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3503, allocations: 113.8 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3503, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.177e-05/0.3504, allocations: 37.58 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.3505, allocations: 130.7 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3506, allocations: 135.8 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3507, allocations: 25.7 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3507, allocations: 96.09 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3507, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3508, allocations: 21.7 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3509, allocations: 314.8 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.3509, allocations: 8 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.3509, allocations: 4 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.351, allocations: 20.84 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.351, allocations: 0 / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001279/0.3511, allocations: 53.64 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3511, allocations: 8 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.3511, allocations: 4 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3511, allocations: 0 / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.3511, allocations: 4.062 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3511, allocations: 0 / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.3512, allocations: 3.953 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3512, allocations: 3.984 kB / 1.365 GB, free: 11.43 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.0001069/0.3513, allocations: 193 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.3514, allocations: 112.9 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.3514, allocations: 112.7 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/0.3515, allocations: 180.3 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.751e-05/0.3516, allocations: 192.1 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.172e-05/0.3516, allocations: 176.3 kB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3519, allocations: 388.2 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/0.3519, allocations: 108.9 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.352, allocations: 101 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-05/0.3521, allocations: 188.2 kB / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.3521, allocations: 180.3 kB / 1.367 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.33e-05/0.3522, allocations: 176.3 kB / 1.367 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.962e-05/0.3523, allocations: 184.2 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3524, allocations: 311.7 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3525, allocations: 116.9 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.3526, allocations: 180.2 kB / 1.368 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.3527, allocations: 108.9 kB / 1.368 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.3527, allocations: 180.2 kB / 1.368 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.3528, allocations: 104.9 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.613e-05/0.3529, allocations: 106.1 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3529, allocations: 4 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007563/0.3536, allocations: 291 kB / 1.369 GB, free: 7.609 MB / 1.061 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.00141/0.355, allocations: 1.195 MB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.3551, allocations: 41.64 kB / 1.37 GB, free: 6.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3551, allocations: 0 / 1.37 GB, free: 6.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.959e-06/0.3551, allocations: 3.984 kB / 1.37 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.0004277/0.3556, allocations: 467.8 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3572, allocations: 1.611 MB / 1.372 GB, free: 4.184 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3575, allocations: 0.6846 MB / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.3575, allocations: 0 / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.3575, allocations: 11.44 kB / 1.373 GB, free: 3.465 MB / 1.061 GB Notification: Performance of SimCode: time 4.3e-07/0.3575, allocations: 4.031 kB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3918, allocations: 7.349 MB / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.99, allocations: 5.484 kB / 1.38 GB, free: 12.28 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.599838476000514]