Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001583/0.001583, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002104/0.002104, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.684/2.684, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.001961/0.001961, allocations: 66.23 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 170 MB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002629/0.3138, allocations: 1.472 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.3183, allocations: 3.001 MB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3183, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3184, allocations: 3.938 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.3184, allocations: 15.84 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.3224, allocations: 1.706 MB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3226, allocations: 43.67 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.3226, allocations: 4 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.3226, allocations: 11.94 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.3227, allocations: 19.92 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3227, allocations: 7.938 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.3253, allocations: 1.759 MB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3253, allocations: 7.984 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.3254, allocations: 19.88 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.3269, allocations: 1.154 MB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3269, allocations: 0 / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3269, allocations: 0 / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3269, allocations: 0 / 1.292 GB, free: 2.281 MB / 0.9825 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.0006224/0.3276, allocations: 480 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3276, allocations: 12.03 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.3277, allocations: 106 kB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.3277, allocations: 84.17 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3279, allocations: 197.7 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.328, allocations: 154.9 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.328, allocations: 150.9 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.835e-05/0.3281, allocations: 112.9 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3281, allocations: 75.28 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.3282, allocations: 154.6 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.3283, allocations: 154.5 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.3283, allocations: 154.6 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.3287, allocations: 437 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3288, allocations: 173.1 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.3288, allocations: 80.14 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.3288, allocations: 79.22 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.3289, allocations: 109.8 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3289, allocations: 0 / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.13e-05/0.329, allocations: 37.59 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.329, allocations: 130.7 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3292, allocations: 136.4 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3292, allocations: 29.7 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3293, allocations: 88.12 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3293, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3293, allocations: 25.66 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3294, allocations: 314.8 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.3295, allocations: 8 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.3295, allocations: 12.06 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.3295, allocations: 12.86 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3295, allocations: 0 / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001336/0.3297, allocations: 57.58 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3297, allocations: 4 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3297, allocations: 4 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3297, allocations: 0 / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3297, allocations: 0 / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3297, allocations: 4 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.3297, allocations: 7.875 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.3297, allocations: 4.062 kB / 1.296 GB, free: 14.56 MB / 0.9981 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.0001103/0.3299, allocations: 185.1 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.3299, allocations: 108.9 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.33, allocations: 120.8 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/0.3301, allocations: 180.2 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-05/0.3301, allocations: 176.3 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-05/0.3302, allocations: 188.2 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3305, allocations: 388.2 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/0.3305, allocations: 105 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.3306, allocations: 104.9 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.418e-05/0.3306, allocations: 176.3 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.3307, allocations: 184.2 kB / 1.298 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.801e-05/0.3308, allocations: 188.2 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.461e-05/0.3309, allocations: 176.3 kB / 1.298 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.331, allocations: 307.7 kB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.3311, allocations: 120.9 kB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.3312, allocations: 180.2 kB / 1.299 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.3313, allocations: 105 kB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.3313, allocations: 188.2 kB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.3314, allocations: 101 kB / 1.299 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.942e-05/0.3314, allocations: 103.2 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3314, allocations: 0 / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007652/0.3322, allocations: 299 kB / 1.299 GB, free: 10.76 MB / 0.9981 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.001359/0.3336, allocations: 1.194 MB / 1.301 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.3337, allocations: 37.7 kB / 1.301 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3337, allocations: 0 / 1.301 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3337, allocations: 4 kB / 1.301 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3341, allocations: 465.3 kB / 1.301 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3356, allocations: 1.613 MB / 1.303 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3359, allocations: 0.6807 MB / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.3359, allocations: 7.984 kB / 1.303 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3359, allocations: 15.42 kB / 1.303 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.3359, allocations: 0 / 1.303 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.3712, allocations: 7.36 MB / 1.311 GB, free: 15.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.19, allocations: 15.12 kB / 1.311 GB, free: 15.42 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_11_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.746665774000576]