<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c7260-4961-70f5-9d87-7b23791d84ad,g:4f0dff79-cd15-489b-899a-f618345af1f0-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="opi-20260331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019c7260-49fe-7a85-8f8a-5fcd28ae3a07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_019c7260-49fe-73ec-918b-9d3401f1213c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Land"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019c7260-49fe-7a85-8f8a-5fcd28ae3a07" xlink:to="loc_us-gaap_Land_019c7260-49fe-73ec-918b-9d3401f1213c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019c7260-49fe-7382-a3e8-dde0512cca51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentBuildingAndBuildingImprovements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019c7260-49fe-7a85-8f8a-5fcd28ae3a07" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019c7260-49fe-7382-a3e8-dde0512cca51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_019c7260-49fe-7bca-beb5-2e8e50b94c56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019c7260-49fe-7ab0-b061-db17d639d712" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019c7260-49fe-7bca-beb5-2e8e50b94c56" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019c7260-49fe-7ab0-b061-db17d639d712" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019c7260-49fe-7d15-80b1-09a8be74e653" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019c7260-49fe-7bca-beb5-2e8e50b94c56" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019c7260-49fe-7d15-80b1-09a8be74e653" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019c7260-49fe-70f7-9e4a-31c9e1fec5a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesNotSubjectToCompromise_019de393-cb2c-714d-9ef9-d48f340e09c9" xlink:href="opi-20260331.xsd#opi_LiabilitiesNotSubjectToCompromise"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c7260-49fe-70f7-9e4a-31c9e1fec5a0" xlink:to="loc_opi_LiabilitiesNotSubjectToCompromise_019de393-cb2c-714d-9ef9-d48f340e09c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesSubjectToCompromise_019de393-cb2c-7e06-9c10-cc4755dc3542" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesSubjectToCompromise"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c7260-49fe-70f7-9e4a-31c9e1fec5a0" xlink:to="loc_us-gaap_LiabilitiesSubjectToCompromise_019de393-cb2c-7e06-9c10-cc4755dc3542" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesNotSubjectToCompromise_019de394-13a2-7c3d-b6a0-bc3ce2dbdb90" xlink:href="opi-20260331.xsd#opi_LiabilitiesNotSubjectToCompromise"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019de394-13a2-79ca-ab33-ee12c7eff043" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019de394-13a2-7c3d-b6a0-bc3ce2dbdb90" xlink:to="loc_us-gaap_SecuredDebt_019de394-13a2-79ca-ab33-ee12c7eff043" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019de394-13a2-77a1-9367-be45d4d1d69f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019de394-13a2-7c3d-b6a0-bc3ce2dbdb90" xlink:to="loc_us-gaap_OtherLiabilities_019de394-13a2-77a1-9367-be45d4d1d69f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019de394-13a2-7875-b59d-53a5b3beecb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableOtherCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019de394-13a2-7c3d-b6a0-bc3ce2dbdb90" xlink:to="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019de394-13a2-7875-b59d-53a5b3beecb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffMarketLeaseUnfavorable_019de394-13a2-7a51-91e0-88fe3ac17a7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffMarketLeaseUnfavorable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019de394-13a2-7c3d-b6a0-bc3ce2dbdb90" xlink:to="loc_us-gaap_OffMarketLeaseUnfavorable_019de394-13a2-7a51-91e0-88fe3ac17a7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c7260-49fe-7f00-9d1a-0950ec8b4ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019c7260-49fe-7fb8-a09c-7ae46b3626de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c7260-49fe-7f00-9d1a-0950ec8b4ff2" xlink:to="loc_us-gaap_Liabilities_019c7260-49fe-7fb8-a09c-7ae46b3626de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c7260-49fe-77ee-917b-231e4a3d6f72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c7260-49fe-7f00-9d1a-0950ec8b4ff2" xlink:to="loc_us-gaap_StockholdersEquity_019c7260-49fe-77ee-917b-231e4a3d6f72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019c7260-49fe-71d6-b8df-ab947e8ac502" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c7260-49fe-7f00-9d1a-0950ec8b4ff2" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019c7260-49fe-71d6-b8df-ab947e8ac502" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_019c7260-49fe-7f61-a836-88eb647d8ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_019c7260-49fe-7f61-a836-88eb647d8ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentsJointVentures_019c7260-49fe-7b8c-a9eb-f69f0629a1e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateInvestmentsJointVentures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_RealEstateInvestmentsJointVentures_019c7260-49fe-7b8c-a9eb-f69f0629a1e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c7260-49fe-7d73-8d82-88fbaa805605" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c7260-49fe-7d73-8d82-88fbaa805605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c7260-49fe-742d-a113-0da2643a3603" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c7260-49fe-742d-a113-0da2643a3603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019c7260-49fe-773f-b5fc-d428f4d48796" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019c7260-49fe-773f-b5fc-d428f4d48796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_019c7260-49fe-7483-a3c4-bfa1dcf4e860" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_AccountsReceivableNet_019c7260-49fe-7483-a3c4-bfa1dcf4e860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsLeasingNet_019c7260-49fe-7192-b3a8-7ff8e1c325aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredCostsLeasingNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_DeferredCostsLeasingNet_019c7260-49fe-7192-b3a8-7ff8e1c325aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019c7260-49fe-795b-aa16-4461410a3db9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c7260-49fe-7c90-8e13-c85359518f0d" xlink:to="loc_us-gaap_OtherAssets_019c7260-49fe-795b-aa16-4461410a3db9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c7260-49fe-73b7-a0e0-449f09937481" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019c7260-49fe-76f2-a52b-69c9c4d20212" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c7260-49fe-73b7-a0e0-449f09937481" xlink:to="loc_us-gaap_CommonStockValue_019c7260-49fe-76f2-a52b-69c9c4d20212" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019c7260-49fe-7928-8937-ac577f0a4ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c7260-49fe-73b7-a0e0-449f09937481" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019c7260-49fe-7928-8937-ac577f0a4ae2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c7260-49fe-7c89-aad1-ae1e583c11c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c7260-49fe-73b7-a0e0-449f09937481" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c7260-49fe-7c89-aad1-ae1e583c11c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeDividends_019c7260-49fe-7278-903c-cd780d33b7a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CumulativeDividends"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c7260-49fe-73b7-a0e0-449f09937481" xlink:to="loc_us-gaap_CumulativeDividends_019c7260-49fe-7278-903c-cd780d33b7a4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="opi-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateTaxExpense_019c7260-49fe-7334-85f2-2c4910152c64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateTaxExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:to="loc_us-gaap_RealEstateTaxExpense_019c7260-49fe-7334-85f2-2c4910152c64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_019c7260-49fe-7b1b-a0e1-2d58f39fb8df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_019c7260-49fe-7b1b-a0e1-2d58f39fb8df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_019c7260-49fe-75e2-b24a-3a69ad12559c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_019c7260-49fe-75e2-b24a-3a69ad12559c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019c7260-49fe-7bc8-b042-99647b27d223" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:to="loc_us-gaap_DepreciationAndAmortization_019c7260-49fe-7bc8-b042-99647b27d223" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019c7260-49fe-7d9e-b93c-e2887854a6c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019c7260-49fe-7d9e-b93c-e2887854a6c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019c7260-49fe-7a3a-af92-84985bda9447" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7c00-89cf-c5b010fe0779" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019c7260-49fe-7a3a-af92-84985bda9447" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c7260-49fe-7c88-a207-6ac7d0beb188" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-7c8b-9708-ac2bc3009a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019c7260-49fe-7c88-a207-6ac7d0beb188" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-7c8b-9708-ac2bc3009a2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c7260-49fe-73b5-949d-cfc6f5665cc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019c7260-49fe-7c88-a207-6ac7d0beb188" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019c7260-49fe-73b5-949d-cfc6f5665cc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019c7260-49fe-78c5-a7e0-c1a69c55b548" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019c7260-49fe-7c88-a207-6ac7d0beb188" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019c7260-49fe-78c5-a7e0-c1a69c55b548" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7d38-9996-faf4bbb9659f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_us-gaap_CostsAndExpenses_019c7260-49fe-7d38-9996-faf4bbb9659f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019c7260-49fe-79e7-95d0-2d331aafc6db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfProperties"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019c7260-49fe-79e7-95d0-2d331aafc6db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_019c7260-49fe-742a-92fd-a1c335ac13d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_us-gaap_InterestAndOtherIncome_019c7260-49fe-742a-92fd-a1c335ac13d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_019c7260-49fe-7301-9d0f-700c74cde152" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_us-gaap_InterestExpense_019c7260-49fe-7301-9d0f-700c74cde152" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_GainLossonExtinguishmentofDebtNet_019c7260-49fe-75be-b8b0-f1fff6e9d69d" xlink:href="opi-20260331.xsd#opi_GainLossonExtinguishmentofDebtNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_opi_GainLossonExtinguishmentofDebtNet_019c7260-49fe-75be-b8b0-f1fff6e9d69d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019c7260-49fe-7061-8dd6-f95b940f896b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_us-gaap_Revenues_019c7260-49fe-7061-8dd6-f95b940f896b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReorganizationItems_019de39b-c682-7edb-b3db-0029e3744347" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReorganizationItems"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019c7260-49fe-73e8-b48f-723784c50c14" xlink:to="loc_us-gaap_ReorganizationItems_019de39b-c682-7edb-b3db-0029e3744347" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="opi-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c7260-49fe-755e-b621-f3161777b320" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_NetIncomeLoss_019c7260-49fe-755e-b621-f3161777b320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019c7260-49fe-7b41-8c44-3f84a231074b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_Depreciation_019c7260-49fe-7b41-8c44-3f84a231074b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019c7260-49fe-77ff-9c61-7f75cb9a66d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019c7260-49fe-77ff-9c61-7f75cb9a66d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019c7260-49fe-765c-a7d3-a5e30d7ba988" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019c7260-49fe-765c-a7d3-a5e30d7ba988" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAmortizationOfDeferredCharges_019c7260-49fe-7bfc-bc34-d39abe7fc2b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAmortizationOfDeferredCharges"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_OtherAmortizationOfDeferredCharges_019c7260-49fe-7bfc-bc34-d39abe7fc2b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019c7260-49fe-7be6-86a3-8ccb8bb6cd9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfProperties"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019c7260-49fe-7be6-86a3-8ccb8bb6cd9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StraightLineRent_019c7260-49fe-7401-bd7c-d07d81b6eb7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StraightLineRent"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_StraightLineRent_019c7260-49fe-7401-bd7c-d07d81b6eb7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019c7260-49fe-74ec-a184-08842ba4bfab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019c7260-49fe-74ec-a184-08842ba4bfab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019c7260-49fe-7b85-8557-e2e9d8807093" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019c7260-49fe-7b85-8557-e2e9d8807093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLeasingReceivables_019c7260-49fe-74bb-9457-6c06da18cae6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInLeasingReceivables"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncreaseDecreaseInLeasingReceivables_019c7260-49fe-74bb-9457-6c06da18cae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_019c7260-49fe-777e-9c6c-cb9e5e3f0325" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredLeasingFees"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_019c7260-49fe-777e-9c6c-cb9e5e3f0325" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019c7260-49fe-71b9-8b1f-883279883844" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019c7260-49fe-71b9-8b1f-883279883844" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019c7260-49fe-7c70-aefe-895fe195a338" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019c7260-49fe-7c70-aefe-895fe195a338" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_019c7260-49fe-7de3-92ee-ce77088b7ad0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_019c7260-49fe-7de3-92ee-ce77088b7ad0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019c7260-49fe-7cf8-98d8-95d0dff1982f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019c7260-49fe-7cf8-98d8-95d0dff1982f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedParties_019c7260-49fe-712a-a7d5-b935acf85ad1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedParties"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedParties_019c7260-49fe-712a-a7d5-b935acf85ad1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_NonCashReorganizationItems_019de3b2-39a7-74d8-b2c9-49456b23bcdd" xlink:href="opi-20260331.xsd#opi_NonCashReorganizationItems"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7268-af96-78fa2037a704" xlink:to="loc_opi_NonCashReorganizationItems_019de3b2-39a7-74d8-b2c9-49456b23bcdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019c7260-49fe-7fa4-956a-ec2a4bfb52b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-75d7-8305-4919c07cd331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019c7260-49fe-7fa4-956a-ec2a4bfb52b9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-75d7-8305-4919c07cd331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c7260-49fe-7af9-9f54-59d508dcbab3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019c7260-49fe-7fa4-956a-ec2a4bfb52b9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c7260-49fe-7af9-9f54-59d508dcbab3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7bad-aacd-4d5eb5237048" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019c7260-49fe-7fa4-956a-ec2a4bfb52b9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c7260-49fe-7bad-aacd-4d5eb5237048" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_019c7260-49fe-7b68-ba2d-411ac1b8e285" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_019c7260-49fe-7b68-ba2d-411ac1b8e285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019c7260-49fe-7839-b89b-027777aace32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019c7260-49fe-7839-b89b-027777aace32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019c7260-49fe-722d-9d46-694b997bba62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019c7260-49fe-722d-9d46-694b997bba62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019c7260-49fe-764a-9a1b-df40d0858704" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019c7260-49fe-764a-9a1b-df40d0858704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019c7260-49fe-72cf-8a14-4daaf0288999" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019c7260-49fe-72cf-8a14-4daaf0288999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ProceedsFromIssuanceOfDebtorInPossessionSecuredTermLoan_019c7260-49fe-7e1d-abba-a17e29ead704" xlink:href="opi-20260331.xsd#opi_ProceedsFromIssuanceOfDebtorInPossessionSecuredTermLoan"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c7260-49fe-76b4-ab92-6c288be6391c" xlink:to="loc_opi_ProceedsFromIssuanceOfDebtorInPossessionSecuredTermLoan_019c7260-49fe-7e1d-abba-a17e29ead704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c7260-49fe-7ee0-a49b-c78a5862142d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c7260-49fe-718e-83ed-4ba1fc634b3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c7260-49fe-7ee0-a49b-c78a5862142d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c7260-49fe-718e-83ed-4ba1fc634b3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019c7260-49fe-7aed-be05-30f60f827af6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c7260-49fe-7ee0-a49b-c78a5862142d" xlink:to="loc_us-gaap_RestrictedCash_019c7260-49fe-7aed-be05-30f60f827af6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c7260-49fe-7593-b060-3032c6524e08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToDevelopRealEstateAssets_019c7260-49fe-7160-aa50-a3521429401b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToDevelopRealEstateAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c7260-49fe-7593-b060-3032c6524e08" xlink:to="loc_us-gaap_PaymentsToDevelopRealEstateAssets_019c7260-49fe-7160-aa50-a3521429401b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment_019c7260-49fe-7da2-9123-97bee990dae8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c7260-49fe-7593-b060-3032c6524e08" xlink:to="loc_us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment_019c7260-49fe-7da2-9123-97bee990dae8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/Chapter11CasesLiabilitiesSubjectToCompromiseDetails" xlink:type="simple" xlink:href="opi-20260331.xsd#Chapter11CasesLiabilitiesSubjectToCompromiseDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/Chapter11CasesLiabilitiesSubjectToCompromiseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesSubjectToCompromise_019de495-3a78-761d-8dcd-dfae86a222e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesSubjectToCompromise"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesSubjectToCompromiseDebt_019de495-3a78-7a49-90ab-1ce68469b8d0" xlink:href="opi-20260331.xsd#opi_LiabilitiesSubjectToCompromiseDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesSubjectToCompromise_019de495-3a78-761d-8dcd-dfae86a222e4" xlink:to="loc_opi_LiabilitiesSubjectToCompromiseDebt_019de495-3a78-7a49-90ab-1ce68469b8d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesSubjectToCompromiseAccruedInterest_019de495-3a78-7bbe-b7e5-3749021fc274" xlink:href="opi-20260331.xsd#opi_LiabilitiesSubjectToCompromiseAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesSubjectToCompromise_019de495-3a78-761d-8dcd-dfae86a222e4" xlink:to="loc_opi_LiabilitiesSubjectToCompromiseAccruedInterest_019de495-3a78-7bbe-b7e5-3749021fc274" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesSubjectToCompromiseAccountsPayableAndOtherLiabilities_019de495-3a78-7cbc-b931-b92f2d572aff" xlink:href="opi-20260331.xsd#opi_LiabilitiesSubjectToCompromiseAccountsPayableAndOtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesSubjectToCompromise_019de495-3a78-761d-8dcd-dfae86a222e4" xlink:to="loc_opi_LiabilitiesSubjectToCompromiseAccountsPayableAndOtherLiabilities_019de495-3a78-7cbc-b931-b92f2d572aff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/Chapter11CasesReorganizationItemsDetails" xlink:type="simple" xlink:href="opi-20260331.xsd#Chapter11CasesReorganizationItemsDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/Chapter11CasesReorganizationItemsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReorganizationItems_019de494-be69-7f43-9b42-acf62f910ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReorganizationItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtorReorganizationItemsLegalAndAdvisoryProfessionalFees_019de494-be69-734d-9b61-bc8ad8669491" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtorReorganizationItemsLegalAndAdvisoryProfessionalFees"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019de494-be69-7f43-9b42-acf62f910ad7" xlink:to="loc_us-gaap_DebtorReorganizationItemsLegalAndAdvisoryProfessionalFees_019de494-be69-734d-9b61-bc8ad8669491" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtorReorganizationItemsRevaluationOfAssetsAndLiabilities_019de494-be69-7a0c-a777-7c98e554a822" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtorReorganizationItemsRevaluationOfAssetsAndLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019de494-be69-7f43-9b42-acf62f910ad7" xlink:to="loc_us-gaap_DebtorReorganizationItemsRevaluationOfAssetsAndLiabilities_019de494-be69-7a0c-a777-7c98e554a822" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_019de494-be69-749d-93d2-b62105a37cfc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019de494-be69-7f43-9b42-acf62f910ad7" xlink:to="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_019de494-be69-749d-93d2-b62105a37cfc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/PerCommonShareAmountsEarningsPerCommonShareDetails" xlink:type="simple" xlink:href="opi-20260331.xsd#PerCommonShareAmountsEarningsPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/PerCommonShareAmountsEarningsPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c7260-49fe-7170-b79e-97bea8fe24ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_019c7260-49fe-73cf-aa5c-3d50d82d907c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c7260-49fe-7170-b79e-97bea8fe24ba" xlink:to="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_019c7260-49fe-73cf-aa5c-3d50d82d907c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c7260-49fe-7982-90f4-95183f768bf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c7260-49fe-7170-b79e-97bea8fe24ba" xlink:to="loc_us-gaap_NetIncomeLoss_019c7260-49fe-7982-90f4-95183f768bf4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FairValueofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="opi-20260331.xsd#FairValueofAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FairValueofAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019de3e8-7b17-7a89-90a6-17c6cbf842e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_019de3e8-7b17-782a-bf74-ac81236fdae6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorNotes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtFairValue_019de3e8-7b17-7a89-90a6-17c6cbf842e0" xlink:to="loc_us-gaap_SeniorNotes_019de3e8-7b17-782a-bf74-ac81236fdae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019de3e8-7b17-7e25-9678-107cec605b09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtFairValue_019de3e8-7b17-7a89-90a6-17c6cbf842e0" xlink:to="loc_us-gaap_SecuredDebt_019de3e8-7b17-7e25-9678-107cec605b09" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/CondensedCombinedDebtorinPossessionFinancialInformationScheduleofDebtorsCondensedCombinedBalanceSheetDetails" xlink:type="simple" xlink:href="opi-20260331.xsd#CondensedCombinedDebtorinPossessionFinancialInformationScheduleofDebtorsCondensedCombinedBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CondensedCombinedDebtorinPossessionFinancialInformationScheduleofDebtorsCondensedCombinedBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019de43e-1c06-7d54-b7ee-006f8cfc9f20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesSubjectToCompromise_019de43e-1c06-7c1b-8ef6-408916a17df2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesSubjectToCompromise"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019de43e-1c06-7d54-b7ee-006f8cfc9f20" xlink:to="loc_us-gaap_LiabilitiesSubjectToCompromise_019de43e-1c06-7c1b-8ef6-408916a17df2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019de43e-1c06-7a5b-b7db-d80dbcb01218" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019de43e-1c06-7d54-b7ee-006f8cfc9f20" xlink:to="loc_us-gaap_SecuredDebt_019de43e-1c06-7a5b-b7db-d80dbcb01218" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019de43e-1c06-750d-8ea3-b3e0291485bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019de43e-1c06-7d54-b7ee-006f8cfc9f20" xlink:to="loc_us-gaap_OtherLiabilities_019de43e-1c06-750d-8ea3-b3e0291485bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019de43e-1c06-7ea8-bda4-d13388572d34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableOtherCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019de43e-1c06-7d54-b7ee-006f8cfc9f20" xlink:to="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019de43e-1c06-7ea8-bda4-d13388572d34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffMarketLeaseUnfavorable_019de43e-1c06-76a3-ba5d-a3919448178b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffMarketLeaseUnfavorable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019de43e-1c06-7d54-b7ee-006f8cfc9f20" xlink:to="loc_us-gaap_OffMarketLeaseUnfavorable_019de43e-1c06-76a3-ba5d-a3919448178b" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
