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.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.001912/0.001912, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002651/0.002651, allocations: 220.1 kB / 22.26 MB, free: 5.125 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.992 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.704/2.704, allocations: 476.7 MB / 0.7707 GB, free: 4.27 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_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_11_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.002011/0.002011, allocations: 70.56 kB / 1.117 GB, free: 39.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 170 MB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002602/0.3008, allocations: 1.48 MB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004563/0.3053, allocations: 2.993 MB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.3054, allocations: 3.938 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.3054, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.3055, allocations: 23.78 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.3098, allocations: 1.708 MB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.3099, allocations: 43.73 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.3099, allocations: 3.984 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/0.31, allocations: 15.94 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.31, allocations: 15.88 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.31, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.313, allocations: 1.755 MB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.313, allocations: 15.92 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.313, allocations: 23.86 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.315, allocations: 1.15 MB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.315, allocations: 0 / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.804e-06/0.315, allocations: 0 / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.315, allocations: 0 / 1.292 GB, free: 2.031 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.0006614/0.3156, allocations: 472 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3157, allocations: 16.02 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.3157, allocations: 106 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.3158, allocations: 88.17 kB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.316, allocations: 193.7 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.316, allocations: 150.9 kB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.3161, allocations: 154.9 kB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.3162, allocations: 104.9 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.3162, allocations: 75.28 kB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.3163, allocations: 158.6 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/0.3163, allocations: 150.6 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.3164, allocations: 158.6 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.3168, allocations: 436.9 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.3169, allocations: 173.1 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.317, allocations: 84.12 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.317, allocations: 79.22 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.153e-05/0.3171, allocations: 109.8 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.3171, allocations: 0 / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001093/0.3172, allocations: 33.59 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.3173, allocations: 142.6 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3174, allocations: 133 kB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3175, allocations: 25.7 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.3175, allocations: 96.12 kB / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.3175, allocations: 0 / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3176, allocations: 13.72 kB / 1.295 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3177, allocations: 322.8 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.3178, allocations: 0 / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.3178, allocations: 8.062 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.3178, allocations: 20.89 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3178, allocations: 0 / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001619/0.318, allocations: 57.53 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.318, allocations: 11.98 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.318, allocations: 7.984 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3181, allocations: 0 / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.3181, allocations: 0 / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3181, allocations: 0 / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.3181, allocations: 0 / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3181, allocations: 4 kB / 1.296 GB, free: 14.32 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.0001265/0.3182, allocations: 185.2 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.3183, allocations: 112.9 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.3184, allocations: 120.8 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-05/0.3185, allocations: 180.3 kB / 1.296 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.184e-05/0.3186, allocations: 180.3 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.545e-05/0.3186, allocations: 184.2 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3189, allocations: 388.2 kB / 1.297 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-05/0.319, allocations: 108.9 kB / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.319, allocations: 101 kB / 1.297 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.3191, allocations: 180.2 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.3192, allocations: 184.3 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.483e-05/0.3193, allocations: 176.3 kB / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-05/0.3193, allocations: 184.2 kB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3195, allocations: 315.7 kB / 1.298 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.3196, allocations: 104.9 kB / 1.298 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.3196, allocations: 184.2 kB / 1.299 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.3197, allocations: 112.9 kB / 1.299 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.3198, allocations: 188.2 kB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.3199, allocations: 104.9 kB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.971e-05/0.3199, allocations: 99.27 kB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3199, allocations: 0 / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008618/0.3208, allocations: 295 kB / 1.299 GB, free: 10.51 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.001479/0.3223, allocations: 1.199 MB / 1.301 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3224, allocations: 45.62 kB / 1.301 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3224, allocations: 0 / 1.301 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3224, allocations: 0 / 1.301 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3228, allocations: 455.7 kB / 1.301 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3245, allocations: 1.622 MB / 1.303 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3248, allocations: 0.6845 MB / 1.303 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3248, allocations: 0 / 1.303 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.3248, allocations: 23.42 kB / 1.303 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.3248, allocations: 0 / 1.303 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.3602, allocations: 7.354 MB / 1.311 GB, free: 15.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.98, allocations: 7.766 kB / 1.311 GB, free: 15.18 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_11_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: 17.415896684999097]