Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun committed Dec 1, 2018
1 parent 2f21e5a commit c258305
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 47 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions openmodelica/bootstrapping/LoadCompilerSources.mos
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ if true then /* Suppress output */
prefixPath + "Util/HashTable5.mo",
// prefixPath + "Util/HashTable6.mo",
prefixPath + "Util/HashTableCG.mo",
prefixPath + "Util/HashTableCrefSimVar.mo",
prefixPath + "Util/HashTableCrILst.mo",
prefixPath + "Util/HashTableCrIntToExp.mo",
prefixPath + "Util/HashTableCrToCrEqLst.mo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ getEnvironmentVar("REFERENCEFILES")+"/ThermoSysPro/ThermoSysPro.Examples.SimpleE
// | | | | | The non-linear solver tries to solve the problem that could take some time.
// | | | | | It could help to provide better start-values for the iteration variables.
// | | | | | For more information simulate with -lv LOG_NLS_V
// stdout | warning | While solving non-linear system an assertion failed at time 681.741.
// | | | | | The non-linear solver tries to solve the problem that could take some time.
// | | | | | It could help to provide better start-values for the iteration variables.
// | | | | | For more information simulate with -lv LOG_NLS_V
// LOG_SUCCESS | info | The simulation finished successfully.
// "
// end SimulationResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ runScript(modelTesting);getErrorString();
// stdout | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000002. That might raise performance issues, for more information use -lv LOG_LS.
// stdout | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.
// stdout | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.
// stdout | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.
// stdout | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.
// LOG_SUCCESS | info | The simulation finished successfully.
//
// Files Equal!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ setCommandLineOptions("--postOptModules-=wrapFunctionCalls --preOptModules-=reso
runScript("../common/ModelTestingDefaults.mos"); getErrorString();

timeoutSim := 600;
modelTestingType := OpenModelicaModelTesting.Kind.Compilation;
modelTestingType := OpenModelicaModelTesting.Kind.Instantiation;
modelName := $TypeName(Modelica.Fluid.Examples.HeatingSystem);
stopTime := 600.0;
compareVars :=
Expand All @@ -34,49 +34,11 @@ runScript(modelTesting);getErrorString();
// "
// ""
// 600
// OpenModelicaModelTesting.Kind.Compilation
// OpenModelicaModelTesting.Kind.Instantiation
// Modelica.Fluid.Examples.HeatingSystem
// 600.0
// {"heater.mediums[1].h","heater.mediums[1].p","pipe.mediums[1].h","pipe.mediums[2].h","pipe.mediums[2].p","radiator.mediums[1].h","radiator.mediums[1].p","tank.level","tank.medium.h"}
// Compilation succeeded
// Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
// Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
// Warning: The linear system:
// 1 : pump.dp_pump = pump.p_b_nominal - tank.ports[2].p
// 2 : pump.dp_pump = pump.medium.p - tank.ports[2].p
// [
// 1.0 , 1.0 ;
// 1.0 , 1.0
// ]
// *
// [
// tank.ports[2].p ;
// pump.dp_pump
// ]
// =
// [
// pump.p_b_nominal ;
// pump.medium.p
// ]
// might be structurally or numerically singular for variable pump.dp_pump since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway.
// Warning: The linear system:
// 1 : pump.dp_pump = pump.medium.p - tank.ports[2].p
// 2 : pump.dp_pump = pump.p_b_nominal - tank.ports[2].p
// [
// 1.0 , 1.0 ;
// 1.0 , 1.0
// ]
// *
// [
// pump.dp_pump ;
// tank.ports[2].p
// ]
// =
// [
// pump.medium.p ;
// pump.p_b_nominal
// ]
// might be structurally or numerically singular for variable tank.ports[2].p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway.
// Frontend succeeded
// "true
// "
// ""
Expand Down

0 comments on commit c258305

Please sign in to comment.