Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force...

4
Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force AFRL-SBIR FA8750-07-C- 0049 Unclassified, DISTRIBUTION STATEMENT A: Approved for public release; distribution is unlimited. This material is based upon works supported by the Department of Defense under contract numbers FA8750-06-C-0133 and FA8750-07-C- 0049. Any opinions, findings and conclusions expressed in this material are those of Reservoir Labs, and do not necessarily reflect the views of the Department of Defense. Copyright © 2009 Reservoir Labs, Inc. Reservoir Labs 632 Broadway, #803 New York, NY 10012 (212) 780-0527 [email protected] [email protected] Lockheed Martin ATL 3 Executive Campus Cherry Hill, NJ 08002 (856) 792-9019 [email protected] [email protected] Matthew Craven Rick Buskens Thanks to Dr. James Hill, Indiana University/Purdue University at Indianapolis for assistance with the CUTS model simulation framework HPEC 2009 22 September 2009

description

Instrumenting CUTS with CrossCheck CUTS Simulation framework – Model created in XML (GUI-aided) – Compiled via CUTS to C++ – Compiled to simulation executable Instrument with CrossCheck – Specification written in CrossCheck specification language (CSL) – Added to model via reusable CrossCheck component Simulation sends events to CrossCheck to check – Works over the network – CrossCheck runtime reports on specification violations Model (XML) CrossCheck specification (CSL) Model (XML) CUTS CSLC Model sim source (C++) Model sim source (C++) CrossCheck runtime source (C++) Platform compiler Model sim executable Model sim executable CrossCheck runtime Specification violation report Compile time Run time HPEC September 2009 CUTS and CrossCheck in a Combined Environment

Transcript of Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force...

Page 1: Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force AFRL-SBIR FA8750-07-C-0049 Unclassified, DISTRIBUTION STATEMENT.

Checking Model Specifications with CrossCheck™

Jonathan SpringerJames Ezick

U.S. Air Force AFRL-SBIR FA8750-07-C-0049

Unclassified, DISTRIBUTION STATEMENT A: Approved for public release; distribution is unlimited. This material is based upon works supported by the Department of Defense under contract numbers FA8750-06-C-0133 and FA8750-07-C-0049. Any opinions, findings and conclusions expressed in this material are those of Reservoir Labs, and do not necessarily reflect the views of the Department of Defense. Copyright © 2009 Reservoir Labs, Inc.

Reservoir Labs632 Broadway, #803New York, NY 10012(212) [email protected]@reservoir.com

Lockheed Martin ATL3 Executive CampusCherry Hill, NJ 08002(856) [email protected]@lmco.com

Matthew CravenRick Buskens

Thanks to Dr. James Hill, Indiana University/Purdue University at Indianapolisfor assistance with the CUTS model simulation framework

HPEC 200922 September 2009

Page 2: Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force AFRL-SBIR FA8750-07-C-0049 Unclassified, DISTRIBUTION STATEMENT.

Dynamic Specification Checkingfor Model-based Development

• Why: Model-based simulation allows early validation of designs– Complex system is modeled as a collection of interacting components– Behavior of system can be simulated and examined prior to implementation– Reduces iterations in design-implement-test cycle

• Problem: How to evaluate simulation driven by model framework?– Need to be able to check that design specifications hold during the simulation

• What: Applied CrossCheck to CUTS: a model simulation framework– Took example avionics problem from the SPRUCE project and created a model– Wrote CrossCheck specifications for message rates in the model

• Result: CrossCheck verified message rates in simulation runs

HPEC 200922 September 2009

Page 3: Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force AFRL-SBIR FA8750-07-C-0049 Unclassified, DISTRIBUTION STATEMENT.

Instrumenting CUTS with CrossCheck

• CUTS Simulation framework– Model created in XML (GUI-aided)– Compiled via CUTS to C++– Compiled to simulation executable

• Instrument with CrossCheck– Specification written in CrossCheck

specification language (CSL)– Added to model via reusable CrossCheck

component

• Simulation sends events to CrossCheck to check– Works over the network– CrossCheck runtime reports

on specification violations

Model (XML)CrossCheck

specification (CSL)

Model (XML)

CUTS CSLC

Model sim source (C++)

CrossCheck runtime source (C++)

Platform compiler

Platform compiler

Model sim executable CrossCheck runtime

Specification violation report

Com

pile

tim

eRu

n tim

e

HPEC 200922 September 2009

CUTS and CrossCheck in a Combined Environment

Page 4: Checking Model Specifications with CrossCheck™ Jonathan Springer James Ezick U.S. Air Force AFRL-SBIR FA8750-07-C-0049 Unclassified, DISTRIBUTION STATEMENT.

Results and Conclusions

• As model size increases, increased messages-per-s leads to deadline violations (left, top)– Violations reported by CrossCheck

• Using multiple CrossCheck engine instances allows scaling with model size (left, bottom)

• Reusable connector component helps model builder add CrossCheck event feed– Uses standard CUTS model-building tools

(GME, GAME)

CrossCheck is a useful adjunct to model-based simulation

HPEC 200922 September 2009

Maximum rate of CrossCheck messages sent per-host

Number of deadline violations given SPRUCE CUTS model size in term of messages exchanged per second