Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007192/0.007192, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001949/0.001949, allocations: 201.8 kB / 16.68 MB, free: 6.375 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005554/0.2889, allocations: 4.16 MB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.2927, allocations: 2.421 MB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.2931, allocations: 8 kB / 1.173 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.2948, allocations: 0.5363 MB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.2954, allocations: 246.1 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2957, allocations: 139.8 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008926/0.2966, allocations: 0.8057 MB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.2971, allocations: 338.5 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.2975, allocations: 291 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.2979, allocations: 330.6 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.298, allocations: 76 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2981, allocations: 72 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.2983, allocations: 167.5 kB / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.2986, allocations: 386.2 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2997, allocations: 0.9962 MB / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2997, allocations: 0 / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2997, allocations: 0 / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.2997, allocations: 4 kB / 1.177 GB, free: 12.33 MB / 0.9356 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.001523/0.3012, allocations: 0.9613 MB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3013, allocations: 12.03 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.3014, allocations: 90.7 kB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.3015, allocations: 76.47 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.3023, allocations: 466 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.3023, allocations: 41.38 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.3024, allocations: 48.38 kB / 1.179 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.3032, allocations: 434.5 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.3032, allocations: 3.953 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.3033, allocations: 20 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.3033, allocations: 12 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.304, allocations: 363.8 kB / 1.179 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.3061, allocations: 1.52 MB / 1.181 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.3067, allocations: 343.7 kB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.3072, allocations: 325.5 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.3072, allocations: 11.94 kB / 1.181 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3073, allocations: 34.5 kB / 1.181 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.3073, allocations: 0 / 1.181 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.0009941/0.3083, allocations: 0.4895 MB / 1.182 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3083, allocations: 55.41 kB / 1.182 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.3089, allocations: 493.9 kB / 1.182 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.309, allocations: 41.62 kB / 1.183 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3092, allocations: 280.6 kB / 1.183 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.3093, allocations: 150.7 kB / 1.183 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3094, allocations: 58.08 kB / 1.183 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3096, allocations: 358.8 kB / 1.183 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3099, allocations: 124.7 kB / 1.183 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3101, allocations: 133.2 kB / 1.184 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.3106, allocations: 286.4 kB / 1.184 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3107, allocations: 0 / 1.184 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006789/0.3113, allocations: 400.5 kB / 1.184 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3114, allocations: 7.984 kB / 1.184 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3114, allocations: 0 / 1.184 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3114, allocations: 4 kB / 1.184 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.3119, allocations: 135.8 kB / 1.184 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.312, allocations: 0 / 1.184 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3122, allocations: 39.67 kB / 1.184 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3122, allocations: 12 kB / 1.184 GB, free: 4.34 MB / 0.9356 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.0002235/0.3124, allocations: 193.8 kB / 1.185 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.3125, allocations: 55.61 kB / 1.185 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.3126, allocations: 65.09 kB / 1.185 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3127, allocations: 4 kB / 1.185 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3127, allocations: 0 / 1.185 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3127, allocations: 0 / 1.185 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.3134, allocations: 0.5752 MB / 1.185 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3134, allocations: 3.938 kB / 1.185 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/0.3139, allocations: 123.9 kB / 1.185 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3139, allocations: 7.938 kB / 1.185 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.3139, allocations: 11.98 kB / 1.185 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.314, allocations: 8 kB / 1.185 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.314, allocations: 0 / 1.185 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.315, allocations: 0.6443 MB / 1.186 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3151, allocations: 144.6 kB / 1.186 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.3152, allocations: 15.98 kB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3154, allocations: 12 kB / 1.186 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.3155, allocations: 27.75 kB / 1.186 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3155, allocations: 7.984 kB / 1.186 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004011/0.3159, allocations: 355.1 kB / 1.187 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3159, allocations: 3.938 kB / 1.187 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003978/0.3163, allocations: 143.7 kB / 1.187 GB, free: 1.871 MB / 0.9356 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.001349/0.3177, allocations: 1.211 MB / 1.188 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000604/0.3183, allocations: 320.5 kB / 1.188 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3183, allocations: 0 / 1.188 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.3186, allocations: 187.6 kB / 1.188 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.3193, allocations: 120.2 kB / 1.189 GB, free: 20 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.3258, allocations: 4.883 MB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.3264, allocations: 0.8665 MB / 1.194 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.3266, allocations: 48.39 kB / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.3269, allocations: 195.4 kB / 1.194 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.3269, allocations: 0 / 1.194 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.3638, allocations: 11.46 MB / 1.206 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.782/9.146, allocations: 16.98 kB / 1.206 GB, free: 14.76 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches