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.InternalResistancesTwoUTubeNegative.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.001326/0.001326, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001486/0.001486, allocations: 217.3 kB / 22.25 MB, free: 4.852 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.789 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.108/3.108, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.002046/0.002046, allocations: 70.95 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, 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.InternalResistancesTwoUTubeNegative): time 0.002532/0.3113, allocations: 1.444 MB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.3156, allocations: 2.674 MB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.3157, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3157, allocations: 7.938 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.3158, allocations: 23.78 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.3199, allocations: 1.637 MB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.32, allocations: 43.67 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.3201, allocations: 7.906 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.3201, allocations: 15.94 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.3201, allocations: 15.92 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.3201, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.3226, allocations: 1.486 MB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3227, allocations: 7.938 kB / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.3227, allocations: 15.92 kB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.3244, allocations: 1.103 MB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3244, allocations: 4 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3244, allocations: 0 / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3244, allocations: 0 / 1.372 GB, free: 5.539 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.000651/0.3251, allocations: 476 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3251, allocations: 8.75 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.3252, allocations: 110 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.3252, allocations: 84.17 kB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3254, allocations: 189.8 kB / 1.373 GB, free: 4.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.3255, allocations: 154.9 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.3255, allocations: 154.9 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/0.3256, allocations: 104.9 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.3256, allocations: 79.28 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.3257, allocations: 150.6 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/0.3258, allocations: 150.6 kB / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.3258, allocations: 154.6 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.3261, allocations: 441 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3263, allocations: 169.1 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.3263, allocations: 80.14 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.3263, allocations: 83.22 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.3264, allocations: 109.8 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.3264, allocations: 0 / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.654e-05/0.3265, allocations: 37.58 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3265, allocations: 130.7 kB / 1.374 GB, free: 2.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3267, allocations: 136.3 kB / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3267, allocations: 25.7 kB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.3267, allocations: 96.14 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.3267, allocations: 3.938 kB / 1.375 GB, free: 2.297 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3268, allocations: 17.7 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3269, allocations: 318.8 kB / 1.375 GB, free: 1.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.3269, allocations: 8 kB / 1.375 GB, free: 1.945 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.327, allocations: 8 kB / 1.375 GB, free: 1.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.327, allocations: 12.84 kB / 1.375 GB, free: 1.922 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.327, allocations: 0 / 1.375 GB, free: 1.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.3271, allocations: 61.53 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3271, allocations: 4 kB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.3272, allocations: 4 kB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3272, allocations: 0 / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3272, allocations: 0 / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3272, allocations: 3.938 kB / 1.375 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.3272, allocations: 8.062 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3272, allocations: 3.984 kB / 1.375 GB, free: 1.832 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.0001017/0.3273, allocations: 181.8 kB / 1.375 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.3274, allocations: 112.9 kB / 1.375 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.3275, allocations: 112.7 kB / 1.376 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.089e-05/0.3275, allocations: 180.3 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-05/0.3276, allocations: 184.2 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/0.3277, allocations: 180.2 kB / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3279, allocations: 384.2 kB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.328, allocations: 104.9 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.328, allocations: 109 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.3281, allocations: 184.3 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.3282, allocations: 184.2 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-05/0.3282, allocations: 180.2 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.05e-05/0.3283, allocations: 184.2 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3284, allocations: 315.6 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.3285, allocations: 116.9 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.3286, allocations: 180.3 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3287, allocations: 104.9 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.3287, allocations: 184.2 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.3288, allocations: 104.9 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.12e-05/0.3288, allocations: 105.3 kB / 1.378 GB, free: 14.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3288, allocations: 0 / 1.378 GB, free: 14.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007663/0.3296, allocations: 298.9 kB / 1.379 GB, free: 14.02 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.001389/0.331, allocations: 1.183 MB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.3311, allocations: 41.7 kB / 1.38 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3311, allocations: 3.938 kB / 1.38 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.3311, allocations: 3.984 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3315, allocations: 463.6 kB / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3331, allocations: 1.614 MB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.3331, allocations: 67.58 kB / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.3331, allocations: 4.094 kB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3332, allocations: 19.44 kB / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of SimCode: time 4.8e-07/0.3332, allocations: 0 / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.369, allocations: 7.815 MB / 1.39 GB, free: 2.859 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.66, allocations: 7.984 kB / 1.39 GB, free: 2.852 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.10903125628829]