Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00756/0.00756, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 195.8 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.635/2.635, allocations: 469.4 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 71.83 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2777, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004878/0.2826, allocations: 4.17 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.286, allocations: 2.406 MB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.2864, allocations: 12 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.2882, allocations: 0.5402 MB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008179/0.289, allocations: 254 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.2894, allocations: 131.9 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.2906, allocations: 0.8137 MB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.2911, allocations: 326.5 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.2916, allocations: 298.9 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004363/0.292, allocations: 334.6 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2922, allocations: 72 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2923, allocations: 76 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.2925, allocations: 163.5 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.2929, allocations: 382.2 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.2939, allocations: 0.9962 MB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2939, allocations: 0 / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2939, allocations: 4 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.363e-05/0.2939, allocations: 0 / 1.23 GB, free: 3.641 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001678/0.2956, allocations: 0.9769 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2957, allocations: 8.031 kB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.2958, allocations: 90.7 kB / 1.232 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.2959, allocations: 76.47 kB / 1.232 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.2967, allocations: 462.1 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2967, allocations: 41.31 kB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.2968, allocations: 56.33 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.2976, allocations: 430.6 kB / 1.233 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2976, allocations: 0 / 1.233 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.2977, allocations: 20 kB / 1.233 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.2977, allocations: 12 kB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.2984, allocations: 363.8 kB / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.3006, allocations: 1.524 MB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.3012, allocations: 336 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.3017, allocations: 328.9 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3017, allocations: 12.62 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3018, allocations: 38.56 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.354e-06/0.3018, allocations: 0 / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.001029/0.3028, allocations: 0.4927 MB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3029, allocations: 59.19 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.3034, allocations: 489.9 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.3035, allocations: 33.7 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3037, allocations: 284.6 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.3038, allocations: 150.7 kB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.3039, allocations: 62.08 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.304, allocations: 358.8 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.3043, allocations: 116.7 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.3045, allocations: 129.4 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.305, allocations: 302.1 kB / 1.237 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.305, allocations: 0 / 1.237 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006378/0.3056, allocations: 396.5 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3057, allocations: 10.02 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3057, allocations: 0 / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3057, allocations: 4 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.3062, allocations: 127.9 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3062, allocations: 0 / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.3065, allocations: 35.73 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3066, allocations: 12 kB / 1.238 GB, free: 11.64 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002295/0.3068, allocations: 198.2 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/0.3069, allocations: 55.61 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.307, allocations: 65.09 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.307, allocations: 8 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3071, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3071, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.3077, allocations: 0.5829 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3077, allocations: 3.938 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.3083, allocations: 123.9 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3083, allocations: 0 / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3083, allocations: 19.98 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3083, allocations: 0 / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3083, allocations: 8 kB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.3093, allocations: 0.6404 MB / 1.24 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3095, allocations: 144.7 kB / 1.24 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.3095, allocations: 4 kB / 1.24 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3098, allocations: 16 kB / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.3099, allocations: 19.97 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3099, allocations: 15.98 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003962/0.3103, allocations: 351.1 kB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3103, allocations: 0 / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004388/0.3107, allocations: 147.7 kB / 1.24 GB, free: 9.176 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001276/0.312, allocations: 1.207 MB / 1.242 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005939/0.3126, allocations: 320.3 kB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3127, allocations: 3.938 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.3129, allocations: 191.3 kB / 1.242 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006972/0.3136, allocations: 142 kB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.3199, allocations: 4.856 MB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.3203, allocations: 0.8704 MB / 1.248 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00023/0.3206, allocations: 52.38 kB / 1.248 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.3208, allocations: 187.4 kB / 1.248 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.3208, allocations: 7.938 kB / 1.248 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5946/0.9154, allocations: 11.45 MB / 1.259 GB, free: 29.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.171, allocations: 13.61 kB / 1.259 GB, free: 29.42 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches