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.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.001727/0.001727, 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.002324/0.002324, allocations: 216.8 kB / 22.26 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.027 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.713/2.713, allocations: 476.7 MB / 0.7707 GB, free: 4.305 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_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_11_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.002002/0.002002, allocations: 67.44 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002619/0.3189, allocations: 1.466 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.3234, allocations: 2.954 MB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.3234, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.3235, allocations: 7.922 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.3235, allocations: 19.86 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.3276, allocations: 1.689 MB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.3277, allocations: 47.66 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.3278, allocations: 4 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.3278, allocations: 11.94 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.826e-05/0.3278, allocations: 11.92 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3278, allocations: 4 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.3305, allocations: 1.712 MB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.3305, allocations: 7.922 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.3305, allocations: 23.88 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.3323, allocations: 1.119 MB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3323, allocations: 3.984 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3323, allocations: 0 / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3323, allocations: 0 / 1.292 GB, free: 2.598 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.0006415/0.333, allocations: 476 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.333, allocations: 8.031 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.3331, allocations: 106 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.3331, allocations: 84.22 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3333, allocations: 185.8 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3333, allocations: 154.9 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.3334, allocations: 154.9 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.3335, allocations: 108.9 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.3335, allocations: 75.28 kB / 1.294 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.3336, allocations: 154.6 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/0.3336, allocations: 154.6 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.3337, allocations: 150.6 kB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.334, allocations: 440.9 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.3341, allocations: 177.1 kB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.3341, allocations: 80.14 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.3342, allocations: 83.16 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.3342, allocations: 109.8 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3342, allocations: 0 / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.3343, allocations: 29.64 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.3344, allocations: 138.7 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3345, allocations: 132.6 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3345, allocations: 25.7 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.3346, allocations: 92.12 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3346, allocations: 0 / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3346, allocations: 17.72 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3347, allocations: 318.8 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.3348, allocations: 4 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.3348, allocations: 11.94 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.3348, allocations: 12.86 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3348, allocations: 4 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.3349, allocations: 53.56 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.335, allocations: 8 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.335, allocations: 0 / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.335, allocations: 0 / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.335, allocations: 4 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.335, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.335, allocations: 3.953 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.335, allocations: 4.062 kB / 1.296 GB, free: 14.91 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.0001095/0.3351, allocations: 186.2 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.3352, allocations: 112.9 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.3353, allocations: 112.8 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.631e-05/0.3354, allocations: 188.3 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.247e-05/0.3354, allocations: 176.3 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.105e-05/0.3355, allocations: 188.2 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3357, allocations: 384.2 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.3358, allocations: 108.9 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3358, allocations: 105 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.126e-05/0.3359, allocations: 180.2 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.336, allocations: 180.3 kB / 1.298 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.124e-05/0.336, allocations: 184.2 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.372e-05/0.3361, allocations: 180.2 kB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3363, allocations: 311.6 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.3363, allocations: 112.9 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.3364, allocations: 180.3 kB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.3365, allocations: 104.9 kB / 1.299 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.3366, allocations: 184.3 kB / 1.299 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.3366, allocations: 108.9 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.3367, allocations: 99.25 kB / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3367, allocations: 0 / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007924/0.3375, allocations: 295 kB / 1.299 GB, free: 11.11 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.001404/0.3389, allocations: 1.173 MB / 1.3 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.339, allocations: 41.62 kB / 1.3 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.339, allocations: 4 kB / 1.3 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.339, allocations: 0 / 1.3 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3394, allocations: 467.6 kB / 1.301 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3409, allocations: 1.59 MB / 1.302 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3412, allocations: 0.6884 MB / 1.303 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.3412, allocations: 0 / 1.303 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.3413, allocations: 19.44 kB / 1.303 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3413, allocations: 0 / 1.303 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.3768, allocations: 7.153 MB / 1.31 GB, free: 24 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 4.484 kB / 1.31 GB, free: 20 kB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv. Warning: Get data of variable x from file Buildings_11_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: 17.838210399000673]