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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005004/0.005004, allocations: 98.42 kB / 15.73 MB, free: 5.547 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.001312/0.001312, allocations: 192 kB / 16.67 MB, free: 5.48 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.84 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 162.2 MB / 1.242 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005579/0.3089, allocations: 4.155 MB / 1.246 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003449/0.3124, allocations: 2.413 MB / 1.248 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.3127, allocations: 12 kB / 1.248 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.3143, allocations: 0.5597 MB / 1.248 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.3148, allocations: 238 kB / 1.249 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.315, allocations: 135.9 kB / 1.249 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008307/0.3159, allocations: 0.8098 MB / 1.25 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.3163, allocations: 322.5 kB / 1.25 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.3167, allocations: 294.9 kB / 1.25 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.3171, allocations: 326.6 kB / 1.251 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3172, allocations: 76.05 kB / 1.251 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3173, allocations: 76 kB / 1.251 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3175, allocations: 171.3 kB / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.3179, allocations: 382.3 kB / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009982/0.3189, allocations: 1 MB / 1.252 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3189, allocations: 0 / 1.252 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3189, allocations: 0 / 1.252 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.3189, allocations: 0 / 1.252 GB, free: 14.37 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.001498/0.3204, allocations: 0.9613 MB / 1.253 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.3205, allocations: 12.03 kB / 1.253 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.3206, allocations: 86.7 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3207, allocations: 88.41 kB / 1.253 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.3214, allocations: 458 kB / 1.254 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3214, allocations: 33.38 kB / 1.254 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.3215, allocations: 48.38 kB / 1.254 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.3223, allocations: 426.6 kB / 1.254 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3223, allocations: 3.984 kB / 1.254 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.3224, allocations: 20 kB / 1.254 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3224, allocations: 12 kB / 1.254 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.3231, allocations: 371.8 kB / 1.255 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.3253, allocations: 1.524 MB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.3259, allocations: 347.6 kB / 1.256 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.3264, allocations: 316.8 kB / 1.257 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3264, allocations: 7.938 kB / 1.257 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3265, allocations: 42.5 kB / 1.257 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=42): time 1.963e-06/0.3265, allocations: 0 / 1.257 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.001006/0.3275, allocations: 0.4907 MB / 1.257 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3275, allocations: 55.41 kB / 1.257 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.3281, allocations: 485.9 kB / 1.258 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3282, allocations: 29.7 kB / 1.258 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.3284, allocations: 276.7 kB / 1.258 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.3285, allocations: 154.6 kB / 1.258 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3286, allocations: 62.08 kB / 1.258 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3288, allocations: 362.8 kB / 1.259 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.3291, allocations: 128.7 kB / 1.259 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3294, allocations: 133.1 kB / 1.259 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.3299, allocations: 294.2 kB / 1.259 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3299, allocations: 0 / 1.259 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006986/0.3306, allocations: 408.4 kB / 1.26 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3306, allocations: 8 kB / 1.26 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3307, allocations: 0 / 1.26 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3307, allocations: 0 / 1.26 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.3312, allocations: 123.9 kB / 1.26 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3312, allocations: 4 kB / 1.26 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.3314, allocations: 31.77 kB / 1.26 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3315, allocations: 12 kB / 1.26 GB, free: 6.391 MB / 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 (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.0002441/0.3317, allocations: 202.2 kB / 1.26 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.3318, allocations: 55.61 kB / 1.26 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.3319, allocations: 57.09 kB / 1.26 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.332, allocations: 4 kB / 1.26 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.332, allocations: 0 / 1.26 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.332, allocations: 11.97 kB / 1.26 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.3327, allocations: 0.5712 MB / 1.261 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.3327, allocations: 3.938 kB / 1.261 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.3332, allocations: 131.8 kB / 1.261 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3333, allocations: 4 kB / 1.261 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.3333, allocations: 8 kB / 1.261 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3333, allocations: 4 kB / 1.261 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3333, allocations: 0 / 1.261 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3343, allocations: 0.6511 MB / 1.261 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3345, allocations: 140.6 kB / 1.261 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.3346, allocations: 11.94 kB / 1.262 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3348, allocations: 12 kB / 1.262 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.3349, allocations: 27.95 kB / 1.262 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.3349, allocations: 8 kB / 1.262 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004283/0.3353, allocations: 347.1 kB / 1.262 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3353, allocations: 4 kB / 1.262 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004055/0.3358, allocations: 143.7 kB / 1.262 GB, free: 3.922 MB / 0.9825 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.001397/0.3372, allocations: 1.204 MB / 1.263 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006407/0.3378, allocations: 331.7 kB / 1.264 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3378, allocations: 0 / 1.264 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3381, allocations: 179.8 kB / 1.264 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.3388, allocations: 125.8 kB / 1.264 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.3453, allocations: 4.852 MB / 1.269 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.3459, allocations: 0.8665 MB / 1.269 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.3461, allocations: 60.25 kB / 1.269 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.3464, allocations: 195.3 kB / 1.27 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3464, allocations: 0 / 1.27 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.3831, allocations: 11.42 MB / 1.281 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.626, allocations: 12.94 kB / 1.281 GB, free: 0.8594 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 400 --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