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.001614/0.001614, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002001/0.002001, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.797 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.709/2.709, allocations: 476 MB / 0.7699 GB, free: 4.793 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.002097/0.002097, allocations: 64.97 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2951, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002775/0.2979, allocations: 1.439 MB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005144/0.303, allocations: 2.676 MB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.3031, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.3031, allocations: 3.938 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.3032, allocations: 19.84 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.3075, allocations: 1.646 MB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.3076, allocations: 39.75 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3077, allocations: 7.922 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.3077, allocations: 15.94 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.803e-05/0.3077, allocations: 11.94 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.3078, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3102, allocations: 1.486 MB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3102, allocations: 11.92 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.3103, allocations: 15.94 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3119, allocations: 1.099 MB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3119, allocations: 7.984 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3119, allocations: 3.938 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3119, allocations: 0 / 1.291 GB, free: 3.902 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.0006262/0.3126, allocations: 472 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3126, allocations: 12.03 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.3127, allocations: 106 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.3127, allocations: 88.11 kB / 1.292 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3129, allocations: 193.7 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.313, allocations: 154.9 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.313, allocations: 154.9 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.3131, allocations: 104.9 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.3131, allocations: 75.28 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.3132, allocations: 150.6 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.864e-05/0.3133, allocations: 154.6 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.672e-05/0.3133, allocations: 158.5 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.3136, allocations: 433 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.3137, allocations: 169.1 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.3138, allocations: 84.14 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.3138, allocations: 79.22 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.3139, allocations: 109.8 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3139, allocations: 0 / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.933e-05/0.3139, allocations: 37.59 kB / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.314, allocations: 130.7 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3142, allocations: 135.6 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3142, allocations: 25.7 kB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.3142, allocations: 92.12 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.3142, allocations: 0 / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3143, allocations: 17.72 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3144, allocations: 318.8 kB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.3144, allocations: 4 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.3144, allocations: 12 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.3145, allocations: 24.86 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3145, allocations: 0 / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001258/0.3146, allocations: 53.53 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3146, allocations: 11.98 kB / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3146, allocations: 0 / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3147, allocations: 4 kB / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3147, allocations: 0 / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3147, allocations: 0 / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.3147, allocations: 3.953 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3147, allocations: 4.062 kB / 1.294 GB, free: 204 kB / 0.9825 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.000104/0.3148, allocations: 185.1 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.3149, allocations: 112.9 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.3149, allocations: 120.8 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.088e-05/0.315, allocations: 180.3 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-05/0.3151, allocations: 180.2 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.746e-05/0.3152, allocations: 176.3 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3154, allocations: 400.1 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/0.3154, allocations: 105 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.3155, allocations: 101 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.3156, allocations: 184.2 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.3156, allocations: 180.3 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.929e-05/0.3157, allocations: 180.2 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/0.3158, allocations: 180.2 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3159, allocations: 315.7 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.316, allocations: 108.9 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.3161, allocations: 188.2 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.3162, allocations: 101 kB / 1.297 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.3162, allocations: 184.3 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.3163, allocations: 108.9 kB / 1.297 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.3163, allocations: 96.98 kB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3163, allocations: 4 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008346/0.3172, allocations: 302.9 kB / 1.298 GB, free: 12.39 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.001402/0.3186, allocations: 1.189 MB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3187, allocations: 41.64 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3187, allocations: 4.062 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3187, allocations: 0 / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.3191, allocations: 459.7 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3207, allocations: 1.618 MB / 1.301 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.003e-05/0.3208, allocations: 67.59 kB / 1.301 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.3208, allocations: 0 / 1.301 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.3208, allocations: 19.45 kB / 1.301 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3208, allocations: 0 / 1.301 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.3597, allocations: 7.809 MB / 1.309 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 5.109 kB / 1.309 GB, free: 1.242 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.331718819681555]