Skip to content

Commit

Permalink
don't show alias warning by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed May 26, 2016
1 parent f65263f commit b7f5861
Show file tree
Hide file tree
Showing 94 changed files with 34 additions and 13,701 deletions.
313 changes: 2 additions & 311 deletions flattening/libraries/3rdParty/siemens/translatePipes.mos

Large diffs are not rendered by default.

Expand Up @@ -30,45 +30,7 @@ readFile("modelDescription.tmp.xml");
// true
// ""
// "SimCode: The model DrumBoiler has been translated to FMU"
// "Warning: Alias set with several free start values
// * candidate: evaporator.p(start = evaporator.p_start)
// * candidate: evaporator.port_b.p(start = 5000000.0)
// * candidate: temperature.port.p(start = 5000000.0)
// * candidate: pressure.port.p(start = 5000000.0)
// * candidate: massFlowRate.port_a.p(start = 5000000.0)
// * candidate: massFlowRate.port_b.p(start = 5000000.0)
// * candidate: SteamValve.port_a.p(start = 5000000.0)
// * candidate: SteamValve.state_a.p(start = 5000000.0)
// * candidate: evaporator.port_a.p(start = 5000000.0)
// * candidate: pump.ports[1].p(start = 5000000.0)
// * candidate: pump.medium.state.p(start = 5000000.0)
// * candidate: pump.medium.sat.psat(start = 5000000.0)
// * candidate: evaporator.sat.psat(start = 5000000.0)
// => select value from evaporator.p(start = evaporator.p_start) for variable: evaporator.p
// Warning: Alias set with different nominal values
// * candidate: evaporator.sat.psat(nominal = 1000000.0)
// * candidate: pump.medium.sat.psat(nominal = 1000000.0)
// * candidate: pump.medium.state.p(nominal = 1000000.0)
// * candidate: pump.medium.p(nominal = 100000.0)
// * candidate: pump.ports[1].p(nominal = 1000000.0)
// * candidate: evaporator.port_a.p(nominal = 1000000.0)
// * candidate: SteamValve.state_a.p(nominal = 1000000.0)
// * candidate: SteamValve.port_a.p(nominal = 1000000.0)
// * candidate: massFlowRate.port_b.p(nominal = 1000000.0)
// * candidate: massFlowRate.port_a.p(nominal = 1000000.0)
// * candidate: pressure.port.p(nominal = 1000000.0)
// * candidate: temperature.port.p(nominal = 1000000.0)
// * candidate: evaporator.port_b.p(nominal = 1000000.0)
// * candidate: evaporator.p(nominal = 1000000.0)
// => select value from evaporator.p(nominal = 1000000.0) for variable: evaporator.p
// Warning: Alias set with different nominal values
// * candidate: furnace.port.T(nominal = 300.0)
// * candidate: evaporator.heatPort.T(nominal = 300.0)
// * candidate: evaporator.sat.Tsat(nominal = 500.0)
// * candidate: evaporator.T(nominal = 500.0)
// * candidate: evaporator.T_D(nominal = 500.0)
// => select value from evaporator.T_D(nominal = 500.0) for variable: evaporator.T_D
// "
// ""
// 0
// "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
// <fmiModelDescription
Expand Down
Expand Up @@ -26,10 +26,6 @@ res := OpenModelica.Scripting.compareSimulationResults("Modelica.Media.Examples.
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.TestOnly.IdealGasN2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// "Warning: Alias set with different nominal values
// * candidate: medium.state.p(nominal = 1000000.0)
// * candidate: medium.p(nominal = 100000.0)
// => select value from medium.p(nominal = 100000.0) for variable: medium.p
// "
// ""
// {"Files Equal!"}
// endResult
Expand Up @@ -33,15 +33,6 @@ res := OpenModelica.Scripting.compareSimulationResults("Modelica.Media.Examples.
// simulationOptions = "startTime = 0.0, stopTime = 1.01, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// "Warning: Alias set with different nominal values
// * candidate: volume.medium.state.p(nominal = 1000000.0)
// * candidate: fixedMassFlowRate.medium.state.p(nominal = 1000000.0)
// * candidate: fixedMassFlowRate.medium.p(nominal = 100000.0)
// * candidate: shortPipe.port_a.p(nominal = 1000000.0)
// * candidate: fixedMassFlowRate.port.p(nominal = 1000000.0)
// * candidate: volume.port.p(nominal = 1000000.0)
// * candidate: volume.medium.p(nominal = 100000.0)
// => select value from volume.medium.p(nominal = 100000.0) for variable: volume.medium.p
// "
// ""
// {"Files Equal!"}
// endResult
Expand Up @@ -27,19 +27,6 @@ res := OpenModelica.Scripting.compareSimulationResults("Modelica.Media.Examples.
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.WaterIF97', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// "Warning: Alias set with several free start values
// * candidate: medium.d(start = 999.0)
// * candidate: medium.state.d(start = 150.0)
// => select value from medium.d(start = 999.0) for variable: medium.d
// Warning: Alias set with several free start values
// * candidate: medium.T(start = 275.0)
// * candidate: medium.state.T(start = 500.0)
// => select value from medium.T(start = 275.0) for variable: medium.T
// Warning: Alias set with different nominal values
// * candidate: medium.sat.psat(nominal = 1000000.0)
// * candidate: medium.state.p(nominal = 1000000.0)
// * candidate: medium.p(nominal = 100000.0)
// => select value from medium.p(nominal = 100000.0) for variable: medium.p
// "
// ""
// {"Files Equal!"}
// endResult
Expand Up @@ -39,45 +39,7 @@ getErrorString();
// "
// end SimulationResult;
// true
// "Warning: Alias set with several free start values
// * candidate: evaporator.p(start = evaporator.p_start)
// * candidate: evaporator.port_b.p(start = 5000000.0)
// * candidate: temperature.port.p(start = 5000000.0)
// * candidate: pressure.port.p(start = 5000000.0)
// * candidate: massFlowRate.port_a.p(start = 5000000.0)
// * candidate: massFlowRate.port_b.p(start = 5000000.0)
// * candidate: SteamValve.port_a.p(start = 5000000.0)
// * candidate: SteamValve.state_a.p(start = 5000000.0)
// * candidate: evaporator.port_a.p(start = 5000000.0)
// * candidate: pump.ports[1].p(start = 5000000.0)
// * candidate: pump.medium.state.p(start = 5000000.0)
// * candidate: pump.medium.sat.psat(start = 5000000.0)
// * candidate: evaporator.sat.psat(start = 5000000.0)
// => select value from evaporator.p(start = evaporator.p_start) for variable: evaporator.p
// Warning: Alias set with different nominal values
// * candidate: evaporator.sat.psat(nominal = 1000000.0)
// * candidate: pump.medium.sat.psat(nominal = 1000000.0)
// * candidate: pump.medium.state.p(nominal = 1000000.0)
// * candidate: pump.medium.p(nominal = 100000.0)
// * candidate: pump.ports[1].p(nominal = 1000000.0)
// * candidate: evaporator.port_a.p(nominal = 1000000.0)
// * candidate: SteamValve.state_a.p(nominal = 1000000.0)
// * candidate: SteamValve.port_a.p(nominal = 1000000.0)
// * candidate: massFlowRate.port_b.p(nominal = 1000000.0)
// * candidate: massFlowRate.port_a.p(nominal = 1000000.0)
// * candidate: pressure.port.p(nominal = 1000000.0)
// * candidate: temperature.port.p(nominal = 1000000.0)
// * candidate: evaporator.port_b.p(nominal = 1000000.0)
// * candidate: evaporator.p(nominal = 1000000.0)
// => select value from evaporator.p(nominal = 1000000.0) for variable: evaporator.p
// Warning: Alias set with different nominal values
// * candidate: furnace.port.T(nominal = 300.0)
// * candidate: evaporator.heatPort.T(nominal = 300.0)
// * candidate: evaporator.sat.Tsat(nominal = 500.0)
// * candidate: evaporator.T(nominal = 500.0)
// * candidate: evaporator.T_D(nominal = 500.0)
// => select value from evaporator.T_D(nominal = 500.0) for variable: evaporator.T_D
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
// "Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
// "
// record SimulationResult
// resultFile = "drumBoiler.optDrumBoiler_res.mat",
Expand Down Expand Up @@ -126,14 +88,14 @@ getErrorString();
// LOG_IPOPT_ERROR | info | max violation is 61.2227 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 15.3174 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 3.83254 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.958957 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.958954 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.240159 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.0600255 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.014993 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.00373604 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000922696 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000214121 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 4.54588e-05 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.060028 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.0149908 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.0037337 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000922331 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000216782 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 4.53796e-05 for the constraint $EqCon$der_evaporator_p(time = 1296)
// "
// end SimulationResult;
// ""
Expand Down
40 changes: 1 addition & 39 deletions openmodelica/fmi/ModelExchange/2.0/testBug3763.mos
Expand Up @@ -13,43 +13,5 @@ translateModelFMU(DrumBoiler);getErrorString();
// ""
// true
// "SimCode: The model DrumBoiler has been translated to FMU"
// "Warning: Alias set with several free start values
// * candidate: evaporator.p(start = evaporator.p_start)
// * candidate: evaporator.port_b.p(start = 5000000.0)
// * candidate: temperature.port.p(start = 5000000.0)
// * candidate: pressure.port.p(start = 5000000.0)
// * candidate: massFlowRate.port_a.p(start = 5000000.0)
// * candidate: massFlowRate.port_b.p(start = 5000000.0)
// * candidate: SteamValve.port_a.p(start = 5000000.0)
// * candidate: SteamValve.state_a.p(start = 5000000.0)
// * candidate: evaporator.port_a.p(start = 5000000.0)
// * candidate: pump.ports[1].p(start = 5000000.0)
// * candidate: pump.medium.state.p(start = 5000000.0)
// * candidate: pump.medium.sat.psat(start = 5000000.0)
// * candidate: evaporator.sat.psat(start = 5000000.0)
// => select value from evaporator.p(start = evaporator.p_start) for variable: evaporator.p
// Warning: Alias set with different nominal values
// * candidate: evaporator.sat.psat(nominal = 1000000.0)
// * candidate: pump.medium.sat.psat(nominal = 1000000.0)
// * candidate: pump.medium.state.p(nominal = 1000000.0)
// * candidate: pump.medium.p(nominal = 100000.0)
// * candidate: pump.ports[1].p(nominal = 1000000.0)
// * candidate: evaporator.port_a.p(nominal = 1000000.0)
// * candidate: SteamValve.state_a.p(nominal = 1000000.0)
// * candidate: SteamValve.port_a.p(nominal = 1000000.0)
// * candidate: massFlowRate.port_b.p(nominal = 1000000.0)
// * candidate: massFlowRate.port_a.p(nominal = 1000000.0)
// * candidate: pressure.port.p(nominal = 1000000.0)
// * candidate: temperature.port.p(nominal = 1000000.0)
// * candidate: evaporator.port_b.p(nominal = 1000000.0)
// * candidate: evaporator.p(nominal = 1000000.0)
// => select value from evaporator.p(nominal = 1000000.0) for variable: evaporator.p
// Warning: Alias set with different nominal values
// * candidate: furnace.port.T(nominal = 300.0)
// * candidate: evaporator.heatPort.T(nominal = 300.0)
// * candidate: evaporator.sat.Tsat(nominal = 500.0)
// * candidate: evaporator.T(nominal = 500.0)
// * candidate: evaporator.T_D(nominal = 500.0)
// => select value from evaporator.T_D(nominal = 500.0) for variable: evaporator.T_D
// "
// ""
// endResult
480 changes: 0 additions & 480 deletions openmodelica/uncertainties/DataReconciliationTests21jan2013.mos

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions simulation/libraries/3rdParty/HumMod/buildHumModOMC.mos
Expand Up @@ -20,10 +20,6 @@ buildModel(HumModTest); getErrorString();
// "Notification: Automatically loaded package Modelica 3.2.1 due to uses annotation.
// Notification: Automatically loaded package Complex 3.2.1 due to uses annotation.
// Notification: Automatically loaded package ModelicaServices 3.2.1 due to uses annotation.
// Warning: Alias set with several free start values
// * candidate: gases.acidBase.veinsPH._cTHox(start = 0.0)
// * candidate: gases.acidBase.artysPH._BEox(start = -0.177)
// => select value from gases.acidBase.artysPH._BEox(start = -0.177) for variable: cardioVascularSystem.busConnector.Blood_BEox
// Warning: The initial conditions are not fully specified. Use +d=initialization for more information.
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
// "
Expand Down
Expand Up @@ -28,31 +28,6 @@ res := OpenModelica.Scripting.compareSimulationResults("TestMedia.TestModels.Wat
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 200, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestMedia.TestModels.WaterIF97.Test5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// "Warning: Alias set with different nominal values
// * candidate: medium2.completeState.state.h(nominal = 500000.0)
// * candidate: medium2.baseProperties.state.h(nominal = 500000.0)
// * candidate: medium2.baseProperties.h(nominal = 1000000.0)
// * candidate: h2(nominal = 500000.0)
// => select value from h2(nominal = 500000.0) for variable: h2
// Warning: Alias set with different nominal values
// * candidate: medium1.completeState.state.h(nominal = 500000.0)
// * candidate: medium1.baseProperties.state.h(nominal = 500000.0)
// * candidate: medium1.baseProperties.h(nominal = 1000000.0)
// * candidate: h1(nominal = 500000.0)
// => select value from h1(nominal = 500000.0) for variable: h1
// Warning: Alias set with several free start values
// * candidate: p1(start = 5000000.0)
// * candidate: medium1.baseProperties.state.p(start = 5000000.0)
// * candidate: medium1.completeState.state.p(start = 5000000.0)
// * candidate: medium1.baseProperties.sat.psat(start = 100000.0)
// => select value from p1(start = 5000000.0) for variable: p1
// Warning: Alias set with different nominal values
// * candidate: medium1.baseProperties.sat.psat(nominal = 1000000.0)
// * candidate: medium1.completeState.state.p(nominal = 1000000.0)
// * candidate: medium1.baseProperties.state.p(nominal = 1000000.0)
// * candidate: medium1.baseProperties.p(nominal = 100000.0)
// * candidate: p1(nominal = 1000000.0)
// => select value from p1(nominal = 1000000.0) for variable: p1
// "
// ""
// {"Files Equal!"}
// endResult
Expand Up @@ -28,25 +28,6 @@ res := OpenModelica.Scripting.compareSimulationResults("TestMedia.TestModels.Wat
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 200, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestMedia.TestModels.WaterIF97.Test6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// "Warning: Alias set with several free start values
// * candidate: p2(start = 5000000.0)
// * candidate: medium2.baseProperties.state.p(start = 5000000.0)
// * candidate: medium2.completeState.state.p(start = 5000000.0)
// * candidate: medium2.baseProperties.sat.psat(start = 100000.0)
// => select value from p2(start = 5000000.0) for variable: p2
// Warning: Alias set with different nominal values
// * candidate: medium2.baseProperties.sat.psat(nominal = 1000000.0)
// * candidate: medium2.completeState.state.p(nominal = 1000000.0)
// * candidate: medium2.baseProperties.state.p(nominal = 1000000.0)
// * candidate: medium2.baseProperties.p(nominal = 100000.0)
// * candidate: p2(nominal = 1000000.0)
// => select value from p2(nominal = 1000000.0) for variable: p2
// Warning: Alias set with different nominal values
// * candidate: medium1.completeState.state.h(nominal = 500000.0)
// * candidate: medium1.baseProperties.state.h(nominal = 500000.0)
// * candidate: medium1.baseProperties.h(nominal = 1000000.0)
// * candidate: h1(nominal = 500000.0)
// => select value from h1(nominal = 500000.0) for variable: h1
// "
// ""
// {"Files Equal!"}
// endResult

0 comments on commit b7f5861

Please sign in to comment.