Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001893/0.001893, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.002487/0.002487, allocations: 218.9 kB / 22.26 MB, free: 5.191 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: 8.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.019/3.019, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002026/0.002026, allocations: 75.08 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00254/0.3061, allocations: 1.477 MB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004429/0.3106, allocations: 3 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.3106, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.3106, allocations: 7.922 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.3107, allocations: 11.88 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.3146, allocations: 1.706 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.3147, allocations: 47.67 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.3148, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/0.3148, allocations: 23.92 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.3148, allocations: 15.92 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.3148, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.3175, allocations: 1.763 MB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3175, allocations: 7.938 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3175, allocations: 19.88 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.3194, allocations: 1.15 MB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3194, allocations: 0 / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3194, allocations: 4 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.3194, allocations: 3.938 kB / 1.335 GB, free: 8.656 MB / 1.029 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.0006917/0.3201, allocations: 472 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3202, allocations: 15.98 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.3202, allocations: 106 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.3203, allocations: 88.11 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3205, allocations: 197.7 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3206, allocations: 158.9 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.3207, allocations: 150.9 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.3208, allocations: 104.9 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.3208, allocations: 75.28 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.3209, allocations: 154.6 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.321, allocations: 154.5 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.3211, allocations: 158.5 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3215, allocations: 433 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3216, allocations: 165.1 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.3216, allocations: 84.14 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.3217, allocations: 83.22 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/0.3217, allocations: 113.8 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3217, allocations: 0 / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.145e-05/0.3218, allocations: 33.7 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.3219, allocations: 134.7 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3221, allocations: 136.1 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3221, allocations: 25.7 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.3222, allocations: 92.14 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.3222, allocations: 0 / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3222, allocations: 21.7 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3223, allocations: 314.8 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.3224, allocations: 4 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.3224, allocations: 4 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.3224, allocations: 28.84 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3224, allocations: 0 / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/0.3226, allocations: 53.62 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3226, allocations: 8 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.3226, allocations: 4 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3226, allocations: 0 / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3226, allocations: 0 / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3226, allocations: 0 / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.3227, allocations: 3.953 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3227, allocations: 0 / 1.338 GB, free: 4.949 MB / 1.029 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.0001154/0.3228, allocations: 193.1 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.3229, allocations: 120.8 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.3229, allocations: 108.8 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-05/0.323, allocations: 180.2 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.84e-05/0.3231, allocations: 184.2 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.842e-05/0.3232, allocations: 180.3 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.3234, allocations: 392.2 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.052e-05/0.3235, allocations: 101 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.3235, allocations: 104.9 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.281e-05/0.3236, allocations: 180.2 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.3237, allocations: 184.3 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-05/0.3238, allocations: 180.2 kB / 1.34 GB, free: 2.746 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-05/0.3238, allocations: 180.3 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.324, allocations: 319.6 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.324, allocations: 108.9 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.3241, allocations: 184.1 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.3242, allocations: 109 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.3243, allocations: 184.2 kB / 1.341 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.3244, allocations: 101 kB / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.3244, allocations: 103.3 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3244, allocations: 0 / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000777/0.3252, allocations: 291 kB / 1.342 GB, free: 1.133 MB / 1.029 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.001372/0.3266, allocations: 1.203 MB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.215e-05/0.3267, allocations: 33.7 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3267, allocations: 4.062 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.3267, allocations: 3.984 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.3271, allocations: 463.7 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3285, allocations: 1.614 MB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3288, allocations: 0.6885 MB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.367e-05/0.3288, allocations: 0 / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.3289, allocations: 15.44 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3289, allocations: 0 / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3625, allocations: 7.353 MB / 1.353 GB, free: 5.805 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.17, allocations: 6.469 kB / 1.353 GB, free: 5.801 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_12_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.560292677999314]