Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001315/0.001315, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001408/0.001408, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.421/1.421, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.189/3.189, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001993/0.001993, allocations: 75.44 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002654/0.3226, allocations: 1.449 MB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3271, allocations: 2.674 MB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.3272, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.3272, allocations: 7.922 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.3272, allocations: 15.86 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.3312, allocations: 1.634 MB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.3313, allocations: 51.61 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3313, allocations: 7.906 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.3314, allocations: 23.86 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.3314, allocations: 11.94 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3314, allocations: 7.984 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3338, allocations: 1.482 MB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3339, allocations: 3.938 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.3339, allocations: 11.94 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.3356, allocations: 1.103 MB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3356, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3356, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3356, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 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.0006723/0.3362, allocations: 480 kB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3363, allocations: 12.75 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.3363, allocations: 106 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3364, allocations: 88.17 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3366, allocations: 193.8 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.3367, allocations: 158.9 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.3367, allocations: 150.9 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.3368, allocations: 104.9 kB / 1.373 GB, free: 4.262 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.3369, allocations: 79.22 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.3369, allocations: 154.6 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.337, allocations: 150.6 kB / 1.373 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.3371, allocations: 154.6 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.3374, allocations: 429 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3375, allocations: 177.1 kB / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.3376, allocations: 84.08 kB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.3376, allocations: 83.2 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.3377, allocations: 109.8 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3377, allocations: 0 / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.968e-05/0.3378, allocations: 29.66 kB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.3378, allocations: 126.7 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.338, allocations: 139.5 kB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.338, allocations: 25.7 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.3381, allocations: 104.1 kB / 1.375 GB, free: 2.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3381, allocations: 0 / 1.375 GB, free: 2.348 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.3381, allocations: 13.72 kB / 1.375 GB, free: 2.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3383, allocations: 322.8 kB / 1.375 GB, free: 2.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.3383, allocations: 3.938 kB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.3383, allocations: 8 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.3383, allocations: 16.8 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3383, allocations: 0 / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000141/0.3385, allocations: 57.53 kB / 1.375 GB, free: 1.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3385, allocations: 7.984 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3385, allocations: 8.062 kB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3385, allocations: 0 / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.3385, allocations: 0 / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3385, allocations: 0 / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.3386, allocations: 0 / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3386, allocations: 4 kB / 1.375 GB, free: 1.891 MB / 1.061 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.0001122/0.3387, allocations: 189.1 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.3388, allocations: 112.9 kB / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.3388, allocations: 112.8 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.257e-05/0.3389, allocations: 180.2 kB / 1.376 GB, free: 1.273 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-05/0.339, allocations: 180.3 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.334e-05/0.3391, allocations: 188.2 kB / 1.376 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3393, allocations: 392.3 kB / 1.376 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/0.3394, allocations: 101 kB / 1.377 GB, free: 368 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3394, allocations: 104.9 kB / 1.377 GB, free: 256 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.3395, allocations: 184.3 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3396, allocations: 180.2 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.398e-05/0.3397, allocations: 176.3 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.657e-05/0.3398, allocations: 184.2 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3399, allocations: 311.7 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.34, allocations: 116.9 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.3401, allocations: 184.2 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.3402, allocations: 105 kB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.3402, allocations: 184.2 kB / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.3403, allocations: 101 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.111e-05/0.3404, allocations: 100.8 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3404, allocations: 0 / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007646/0.3411, allocations: 295 kB / 1.379 GB, free: 14.09 MB / 1.076 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.001436/0.3426, allocations: 1.194 MB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.3427, allocations: 37.7 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3427, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3427, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3431, allocations: 463.6 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3446, allocations: 1.626 MB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.3447, allocations: 63.59 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.3447, allocations: 0 / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.3447, allocations: 23.42 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/0.3447, allocations: 0 / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.3811, allocations: 7.819 MB / 1.39 GB, free: 2.918 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 9.297 kB / 1.39 GB, free: 2.91 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_latest_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.33930327417329]