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.007824/0.007824, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001901/0.001902, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.599/2.599, allocations: 472.7 MB / 0.7453 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3001, allocations: 159.9 MB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00552/0.3056, allocations: 4.174 MB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003612/0.3093, allocations: 2.409 MB / 1.232 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.31, allocations: 12 kB / 1.232 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.312, allocations: 0.5441 MB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008232/0.3129, allocations: 250 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.3132, allocations: 135.9 kB / 1.233 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.3143, allocations: 0.8092 MB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.3149, allocations: 326.5 kB / 1.234 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.3156, allocations: 298.9 kB / 1.234 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.3161, allocations: 326.6 kB / 1.234 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.3163, allocations: 80 kB / 1.234 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.3165, allocations: 72 kB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.3167, allocations: 167.5 kB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006295/0.3174, allocations: 386.2 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3184, allocations: 0.9961 MB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3184, allocations: 4 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3184, allocations: 0 / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.381e-05/0.3185, allocations: 0 / 1.236 GB, free: 14.61 MB / 0.9981 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.001576/0.3201, allocations: 0.9632 MB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3201, allocations: 12.03 kB / 1.237 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.3202, allocations: 90.7 kB / 1.237 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.3203, allocations: 76.47 kB / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.321, allocations: 462 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.321, allocations: 37.38 kB / 1.238 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.3211, allocations: 44.38 kB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.3218, allocations: 442.6 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3218, allocations: 3.938 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.3218, allocations: 20 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3219, allocations: 12 kB / 1.238 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.3225, allocations: 363.8 kB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.3245, allocations: 1.52 MB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.325, allocations: 347.4 kB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.3255, allocations: 322.3 kB / 1.24 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3255, allocations: 7.938 kB / 1.24 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3255, allocations: 46.48 kB / 1.241 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.3255, allocations: 0 / 1.241 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009027/0.3265, allocations: 0.4895 MB / 1.241 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.3265, allocations: 56.17 kB / 1.241 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.3271, allocations: 485.9 kB / 1.242 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.3271, allocations: 29.7 kB / 1.242 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.3274, allocations: 284.6 kB / 1.242 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3275, allocations: 154.6 kB / 1.242 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.3276, allocations: 58.08 kB / 1.242 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3278, allocations: 362.8 kB / 1.242 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.328, allocations: 124.6 kB / 1.242 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3283, allocations: 121.5 kB / 1.243 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.3288, allocations: 306 kB / 1.243 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3288, allocations: 4 kB / 1.243 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006568/0.3295, allocations: 400.4 kB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3295, allocations: 8 kB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3295, allocations: 0 / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3295, allocations: 0 / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.33, allocations: 127.8 kB / 1.243 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.33, allocations: 8 kB / 1.243 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3302, allocations: 35.77 kB / 1.243 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3303, allocations: 8 kB / 1.243 GB, free: 6.613 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.0002264/0.3305, allocations: 202.2 kB / 1.244 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.3306, allocations: 55.61 kB / 1.244 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3307, allocations: 57.11 kB / 1.244 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3307, allocations: 4 kB / 1.244 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3307, allocations: 3.984 kB / 1.244 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3307, allocations: 3.984 kB / 1.244 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.3313, allocations: 0.5791 MB / 1.244 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3314, allocations: 3.938 kB / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.3318, allocations: 123.9 kB / 1.244 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3319, allocations: 4 kB / 1.244 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3319, allocations: 4 kB / 1.244 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3319, allocations: 4 kB / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3319, allocations: 0 / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.3329, allocations: 0.6561 MB / 1.245 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.333, allocations: 140.6 kB / 1.245 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.333, allocations: 12 kB / 1.245 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.3332, allocations: 11.98 kB / 1.245 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.3333, allocations: 23.97 kB / 1.245 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3333, allocations: 8 kB / 1.245 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003597/0.3337, allocations: 351.1 kB / 1.246 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3337, allocations: 3.938 kB / 1.246 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000378/0.3341, allocations: 147.7 kB / 1.246 GB, free: 4.148 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.00122/0.3353, allocations: 1.208 MB / 1.247 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005711/0.3359, allocations: 319.5 kB / 1.247 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3359, allocations: 0 / 1.247 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.3362, allocations: 179.9 kB / 1.247 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.3368, allocations: 127.9 kB / 1.248 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5255/0.8623, allocations: 4.851 MB / 1.252 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.8628, allocations: 0.8675 MB / 1.253 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.8631, allocations: 53.98 kB / 1.253 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.8633, allocations: 186.7 kB / 1.253 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of SimCode: time 1.613e-06/0.8633, allocations: 1.344 kB / 1.253 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3945/1.258, allocations: 11.43 MB / 1.265 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.58, allocations: 14.41 kB / 1.265 GB, free: 23.56 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