Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.008119/0.008119, allocations: 107.4 kB / 15.74 MB, free: 6.02 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.002012/0.002012, allocations: 193.5 kB / 16.67 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.411/1.411, 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 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7218, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005347/0.7272, allocations: 4.159 MB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.7306, allocations: 2.405 MB / 1.227 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.7309, allocations: 15.94 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.7325, allocations: 0.5284 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.733, allocations: 262 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.7333, allocations: 135.9 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009137/0.7342, allocations: 0.8117 MB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.7347, allocations: 326.5 kB / 1.229 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.7352, allocations: 290.9 kB / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.7356, allocations: 330.6 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.339e-05/0.7357, allocations: 76 kB / 1.229 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.7358, allocations: 79.94 kB / 1.229 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.736, allocations: 167.4 kB / 1.23 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.7364, allocations: 390.2 kB / 1.23 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.7374, allocations: 0.9923 MB / 1.231 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7374, allocations: 0 / 1.231 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7374, allocations: 0 / 1.231 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.7374, allocations: 0 / 1.231 GB, free: 7.062 MB / 0.9512 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.001531/0.739, allocations: 0.9769 MB / 1.232 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.739, allocations: 8.031 kB / 1.232 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.872e-05/0.7391, allocations: 86.72 kB / 1.232 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.7393, allocations: 80.45 kB / 1.232 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.7399, allocations: 458.1 kB / 1.232 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.74, allocations: 37.31 kB / 1.232 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.7401, allocations: 52.33 kB / 1.233 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.7409, allocations: 430.6 kB / 1.233 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.7409, allocations: 7.938 kB / 1.233 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.741, allocations: 20 kB / 1.233 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.741, allocations: 15.98 kB / 1.233 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.7417, allocations: 363.8 kB / 1.233 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.7439, allocations: 1.524 MB / 1.235 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.7444, allocations: 348.2 kB / 1.235 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.7449, allocations: 313.5 kB / 1.235 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.745, allocations: 15.88 kB / 1.235 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.745, allocations: 42.34 kB / 1.235 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=42): time 2.445e-06/0.745, allocations: 0 / 1.235 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.001021/0.746, allocations: 0.4966 MB / 1.236 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.7461, allocations: 55.41 kB / 1.236 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.7467, allocations: 485.9 kB / 1.236 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.7467, allocations: 29.7 kB / 1.237 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.7469, allocations: 284.7 kB / 1.237 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.7471, allocations: 154.6 kB / 1.237 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.7472, allocations: 62.08 kB / 1.237 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.7474, allocations: 358.8 kB / 1.237 GB, free: 184 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.7476, allocations: 120.7 kB / 1.237 GB, free: 64 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.7479, allocations: 125.5 kB / 1.238 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.7484, allocations: 298.2 kB / 1.238 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7484, allocations: 0 / 1.238 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006801/0.7491, allocations: 404.4 kB / 1.238 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7492, allocations: 4 kB / 1.238 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7492, allocations: 0 / 1.238 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7492, allocations: 0 / 1.238 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.7497, allocations: 123.9 kB / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.7497, allocations: 11.94 kB / 1.238 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.75, allocations: 39.72 kB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.75, allocations: 12 kB / 1.238 GB, free: 15.05 MB / 0.9669 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.0002341/0.7502, allocations: 193.8 kB / 1.239 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.7503, allocations: 59.59 kB / 1.239 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.7505, allocations: 57.11 kB / 1.239 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7505, allocations: 8 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7505, allocations: 0 / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7505, allocations: 7.984 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.7512, allocations: 0.5789 MB / 1.239 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.7512, allocations: 7.938 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.7517, allocations: 123.9 kB / 1.239 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7517, allocations: 0 / 1.239 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.7518, allocations: 12 kB / 1.239 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7518, allocations: 0 / 1.239 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7518, allocations: 0 / 1.239 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7528, allocations: 0.6523 MB / 1.24 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.753, allocations: 136.7 kB / 1.24 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.753, allocations: 8 kB / 1.24 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.7533, allocations: 15.98 kB / 1.24 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.7533, allocations: 19.97 kB / 1.24 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.7534, allocations: 12 kB / 1.24 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000417/0.7538, allocations: 355.1 kB / 1.241 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7538, allocations: 0 / 1.241 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004063/0.7542, allocations: 143.7 kB / 1.241 GB, free: 12.6 MB / 0.9669 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.001379/0.7556, allocations: 1.22 MB / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.7562, allocations: 315.6 kB / 1.242 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7562, allocations: 0 / 1.242 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.7566, allocations: 183.6 kB / 1.242 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.7572, allocations: 143 kB / 1.243 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.7639, allocations: 4.869 MB / 1.247 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.7644, allocations: 0.8626 MB / 1.248 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.7646, allocations: 56.39 kB / 1.248 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.7649, allocations: 187.4 kB / 1.248 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.7649, allocations: 0 / 1.248 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.8042, allocations: 11.45 MB / 1.26 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/9.509, allocations: 18.58 kB / 1.26 GB, free: 9.496 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches