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.001322/0.001322, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.0015/0.0015, allocations: 215.1 kB / 22.25 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.824 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.091/3.091, allocations: 0.49 GB / 0.7951 GB, free: 35.26 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.001959/0.001959, allocations: 66.52 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002666/0.3283, allocations: 1.447 MB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004373/0.3327, allocations: 2.674 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.3327, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.3327, allocations: 3.938 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.3328, allocations: 15.86 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.3367, allocations: 1.659 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.3368, allocations: 47.67 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3369, allocations: 8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.3369, allocations: 19.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.3369, allocations: 15.92 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.3369, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.3392, allocations: 1.587 MB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.3392, allocations: 7.875 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.3392, allocations: 19.92 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.3407, allocations: 1.111 MB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3407, allocations: 0 / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3407, allocations: 3.938 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3407, allocations: 0 / 1.334 GB, free: 8.824 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.0005888/0.3413, allocations: 472 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3414, allocations: 11.98 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.3414, allocations: 106 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.3415, allocations: 84.17 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3416, allocations: 193.8 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.3417, allocations: 158.9 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.3418, allocations: 154.9 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.679e-05/0.3419, allocations: 104.9 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.3419, allocations: 75.28 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.342, allocations: 150.6 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.342, allocations: 158.5 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.3421, allocations: 150.6 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.3424, allocations: 433 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.3425, allocations: 169.1 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3425, allocations: 84.14 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.3426, allocations: 83.16 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.3426, allocations: 109.8 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3426, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.036e-05/0.3427, allocations: 37.7 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.3428, allocations: 126.7 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3429, allocations: 139.5 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3429, allocations: 25.7 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.343, allocations: 92.08 kB / 1.337 GB, free: 5.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.343, allocations: 4 kB / 1.337 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.343, allocations: 21.66 kB / 1.337 GB, free: 5.559 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3432, allocations: 318.8 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.3432, allocations: 8 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.3432, allocations: 7.938 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.3433, allocations: 16.86 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3433, allocations: 0 / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001242/0.3434, allocations: 49.62 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3434, allocations: 8 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3434, allocations: 4 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3434, allocations: 3.984 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.806e-06/0.3434, allocations: 4.062 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3434, allocations: 0 / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.3435, allocations: 7.891 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3435, allocations: 8.062 kB / 1.338 GB, free: 5.113 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.0001082/0.3436, allocations: 181.1 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.3437, allocations: 124.8 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.3437, allocations: 104.8 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.291e-05/0.3438, allocations: 184.2 kB / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.225e-05/0.3439, allocations: 176.3 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/0.344, allocations: 176.3 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.3442, allocations: 396.2 kB / 1.339 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.3443, allocations: 105 kB / 1.339 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.3443, allocations: 104.9 kB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/0.3444, allocations: 180.3 kB / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/0.3445, allocations: 184.3 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.182e-05/0.3446, allocations: 184.2 kB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.561e-05/0.3446, allocations: 176.3 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3448, allocations: 315.7 kB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.3449, allocations: 112.9 kB / 1.34 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.3449, allocations: 180.2 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.345, allocations: 101 kB / 1.341 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.3451, allocations: 184.2 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.3452, allocations: 101 kB / 1.341 GB, free: 1.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.664e-05/0.3452, allocations: 108.3 kB / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 0 / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008267/0.3461, allocations: 298.9 kB / 1.341 GB, free: 1.309 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.001415/0.3475, allocations: 1.194 MB / 1.342 GB, free: 88 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.99e-05/0.3476, allocations: 33.7 kB / 1.342 GB, free: 48 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3476, allocations: 4.062 kB / 1.342 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3476, allocations: 0 / 1.342 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.348, allocations: 473.3 kB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3496, allocations: 1.607 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.3497, allocations: 67.34 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.3497, allocations: 0 / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.3497, allocations: 19.45 kB / 1.345 GB, free: 13.78 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.3497, allocations: 0 / 1.345 GB, free: 13.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.3855, allocations: 7.843 MB / 1.352 GB, free: 6.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.44, allocations: 16.42 kB / 1.352 GB, free: 6.117 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.06237869700999]